Solved it. Another dev had modified our error handler prior to updating to 5.2, so it was checking for a 500 error blade template to render if app_debug=false. I just checked the 5.2 default error handler render function (App/Exceptions/Handler.php > render function) and modified ours to be similar.
Dec 11, 2018
1
Level 6
Laravel 5.2 APP_DEBUG=false causes failed form request validation to 500 error
I have a 5.2 app that whenever form request validation fails, if the app_debug=false, it spits out the 500 error page instead of just returning the validation as usual.
Even weirder, it logs nothing in the laravel logs or the apache error logs. If I set app_debug=true then it works as it should. Seriously stumped on this one.
Level 6
1 like
Please or to participate in this conversation.