Do you get any stack trace in your laravel.log file? That should help find the origin of the error.
This is the last 2 lines in the laravel.log file
#21 C:\wamp\www\laravel-modules\public\index.php(49): Illuminate\Foundation\Application->run()
#22 {main} [] []
Ok, we need it from the error message above #1
;)
ok cool. Sorry about that :-p
Here is a link to everything I have in the laravel.log file.
I had to put it there because the laravel forum would display all the text
Does the error go away if you change this
{{ Form::model($users, array('method' => 'PATCH', 'route' => array('admin.users.update', $users->id))) }}
to this
{{ Form::model($users, array('method' => 'PATCH', 'route' =>'admin.users.update', 'route_id'=>$users->id)) }}
In my Case, I was not using 'compact' to pass varible from controller to view.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community