undefined method Illuminate\Support\MessageBag::getResults() #36
Comments
@BeingTomGreen I guess this is a Laravel core framework issue. I wasn't able to reproduce your scenario, but I did get an exception on I'm closing this issue since it's not directly related to Ardent. Please feel free to post your updates. |
I would argue it is a Ardent Issues. Calling Validator works fine in the main app or in a package, but passing it through Ardent fails. I will update when Beta 4 is released later on today (according to Taylor). |
@BeingTomGreen Thanks for the update. I wasn't able to reproduce the error - perhaps I didn't replicate your project structure properly. I'd like to investigate this further. Would it be possible to share the project source code... if that's not an option perhaps you could whip up a small demo project? |
I have removed Ardent from the current project (until we can get it working). I will try and knock up a quick example later on today. |
@BeingTomGreen - @laravelbook I had the same problem and found the reason for the error when displaying error of validation has to be placed Sorry I am to brazil and I do not know english very well, I just let my contribution. |
@laravelbook @BeingTomGreen I encountered the same error in bootstrap/compiled.php running tests. In a different environment (Ubuntu 13.04) I consistently receive this error:
We're removing Ardent from our project for now. I may get some time to put this through a debugger over the next few days. |
My problems were actually related to a bug in the factory-muff project. When Ardent failed to save() due to validation errors, factory-muff was accessing an invalid class attribute before throwing its exception. I've proposed a fix for that here: thephpleague/factory-muffin#7 |
I'm closing this issue now since looks like @mailontorres found the solution earlier. Additionally, besides using |
Model:
Controller:
I get this when my input fails validation:
Line 9186:
If everything validates it carries on to the list page, although it doesn't actually update the row...
Thoughts? Something to do the fact that I am using it from within a package?
The text was updated successfully, but these errors were encountered: