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

Increased max depth in json_encode for FlameChart #275

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Den4ik
Copy link

@Den4ik Den4ik commented Mar 24, 2025

Magento's architecture can lead to a significant call stack depth, exceeding 512 child elements.

As a result, the FlameChart tab in the profiler show empty page and backend returns a "Maximum stack depth exceeded" error when executing json_encode.

This pull request increases the allowed depth in json_encode to resolve this issue.

@butschster butschster self-requested a review March 24, 2025 16:30
@butschster butschster self-assigned this Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants