Support the ongoing development of Laravel.io →
Input Database Forms
Last updated 1 year ago.
0

I have done some changes to my controller I replaced

$input = \Input::all();

with

$input = \Input::with('menu')->all();

but now I get this error in my firebug

{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Call to undefined method Illuminate\\Http\\Request::with()","file":"\/Applications\/MAMP\/htdocs\/laravel-auth\/vendor\/laravel\/framework\/src\/Illuminate\/Support\/Facades\/Facade.php","line":208}}
Last updated 1 year ago.
0
Solution

I managed to fix it. My select box didn't have the menu_id on it

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

shiva shiva Joined 24 Jul 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.