Skip to content

Conversation

@Den4ik
Copy link
Contributor

@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
@butschster butschster merged commit da9e778 into buggregator:master Apr 15, 2025
1 of 7 checks passed
@Den4ik Den4ik deleted the fix/increase-json-encode-depth branch October 24, 2025 05:06
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