Hello I was trying to run the following console command
console cache:clear --env=prod
but i got the following error
Fatal error: Maximum function nesting level of '100' reached, aborting! in vendor\symfony\symfony\src\Symfony\Bundle\TwigBundle\Loader\FilesystemLoader.php on line 66
executing with --no-debug throw the same error, however when run the following command
console cache:clear --env=prod --no-optional-warmers
the cache is cleared and generated fine, but Twig templates are not generated and will be generated on runtime when some user navigate to the site, causing that the user to wait longer than usual.
What can cause this error?, Seems an error when generating the views, but why and how fix this?, thanks
I have Symfony 2.6 and php 5.5