Cocolabs-SAS / cocorico

👐 Cocorico is an open source marketplace solution for services and rentals. More information right here: https://www.cocorico.io/ 🚀 Cocorico is also available in an off-the-shelf SaaS package, check out https://www.hatch.li to launch your platform today. 😍 We are hiring (telecommute welcome 🏡): https://www.welcometothejungle.com/en/companies/cocorico/jobs/candidatures-spontanees#apply
https://www.cocolabs.com
MIT License
860 stars 612 forks source link

Issue - PHP Fatal error: Nesting level too deep - recursive dependency? #433

Closed gantispam closed 5 years ago

gantispam commented 5 years ago
Q A
Bug report? [ ]
Feature request? [ ]
Support request? [ X]

Reproduce :

Error :

[Mon Sep 02 17:03:09.819239 2019] [php7:error] [pid 13798] [client 192.168.1.24:11263] PHP Fatal error:  Nesting level too deep - recursive dependency? in /var/www/my-app/var/cache/prod/twig/85/854c4c4047087a724899bb36242f506827b0758f54335e01a51ad11089c11521.php on line 347, referer: http://mon-test.fr/en/

Tried to disable Twig's cache and new error is :

[Mon Sep 02 17:10:15.577505 2019] [php7:error] [pid 13797] [client 192.168.1.24:11698] PHP Fatal error:  Nesting level too deep - recursive dependency? in /var/www/my-app/vendor/twig/twig/lib/Twig/Environment.php(378) : eval()'d code on line 347
cocolabssas commented 5 years ago

Hi @gantispam

Could you send the complete log of this error.

imanalopher commented 5 years ago

Hi @gantispam Could You run & show us:

php -v, tail -f var/logs/{latest}.log