I have a project on Symfony 2.1. After updating composer components (Gedemo, Symfony core, Doctrine, Twig, etc..) I have the following error:
Fatal error: Ma
Find the xdebug.ini file:
xdebug.ini
$ locate xdebug.ini /etc/php5/conf.d/20-xdebug.ini /etc/php5/mods-available/xdebug.ini
In my case the file is /etc/php5/conf.d/20-xdebug.ini. Open it and add this line:
/etc/php5/conf.d/20-xdebug.ini
xdebug.max_nesting_level = 1000
Don't forget to restart the FPM server.