Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum call stack size of 196608 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? #3840

Open
drnasin opened this issue Jun 23, 2024 · 1 comment

Comments

@drnasin
Copy link
Contributor

drnasin commented Jun 23, 2024

I have a rocket theme (proton) on gantry and grav. Updated to latest grav and gantry. When gantry is in development mode and If I delete the cache then the frontend works until the cache is regenerated. After a few clicks I'll get - Maximum call stack size of 196608 bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reached. Infinite recursion? (file \vendor\twig\twig\src\Source.php). I'm not sure if this is Grav or Gantry issue. Any ideas? If Gantry is in production mode then it works...

local dev: win 11, php 8.3.8

@rhukster
Copy link
Member

Never seen that before, are you running this on a low-memory/low-resources mahine? Definitely some kind of resource limitiation. Try with the built in theme 'quark' to see if that loads ok. That would indicate some issue with the gantry-based theme. Gantry itself is not at fault as it's used by 1000s of people successfully, but it's possible is misconfigured or the setup has something amiss. The "infinite recursion" in the error message indicates somehting is calling itself. perhaps a module trying to load the same module, which loads the same module, etc. That kind of thing is most likely. Try unpublishing pages and plugins to see if you can locate what the cause is. Sorry I can't help specfically it could really be anyting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants