Am getting this error message in my Laravel application after I upgraded to Laravel 5.1.
FatalErrorException in Dispatcher.php line 200:
Maximum function nesting level of '100' reached, aborting!
This issue occurs on some URLs of my app. I have done dozens of
composer update but issue still persist. Any suggestion at all will be appreciated
Best How To :
Issue is caused by default
xdebug.max_nesting_level which is 100.
The workaround for now is to increase
xdebug.max_nesting_level to a certain level say 200 or 300 or 400
I fixed mine by increasing xdebug.max_nesting_level to 120, by adding the line below to
bootstrap/autoload.php in Laravel 5.1