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 function nesting level reached on Magento 2.2.4 #3

Open
kamilszewczyk opened this issue Jun 15, 2018 · 2 comments
Open

Maximum function nesting level reached on Magento 2.2.4 #3

kamilszewczyk opened this issue Jun 15, 2018 · 2 comments

Comments

@kamilszewczyk
Copy link

After upgrading to Magento 2.2.4 the errors started appearing on product page with options:
PHP Fatal error: Maximum function nesting level of '200' reached.
The trace reveals one of the calls is in Jh\BlockLogger\Layout\Logger->aroundRenderNonCachedElement()

After removing the module the product page starts working

@maxbucknell
Copy link
Contributor

Hi @kamilszewczyk

Is this still an issue? Do you have a full stack trace? 200 seems like a reasonably plausible depth for recursive layout processing.

After some looking around, it seems that PHP does not enforce a limit on function nesting, and recursion by default will generate a segmentation fault. This limit seems to come from XDebug, so perhaps you can raise that setting?

Thanks for the feedback though.

@kamorana
Copy link

kamorana commented Feb 8, 2021

@maxbucknell I have the same issue on 2.4.1. It also happens with disabled xdebug.

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

3 participants