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: Maximum function nesting level of '100' reached, aborting! in /var/www/{path}/vendor/twig/twig/lib/Twig/Token.php on line 78
I have PHP 5.4. What can cause this error?
Find the
xdebug.inifile:In my case the file is
/etc/php5/conf.d/20-xdebug.ini. Open it and add this line:Don’t forget to restart the FPM server.