After I installed Starter Templates by Astra themes, I encountered this error that prevents loading the website but WP control panel is working.
Fatal error: Uncaught Error: Maximum function nesting level of ‘256’ reached, aborting! in C:\Users\Ad2048\Local Sites\arcedu\app\public\wp-includes\class-wp-block-parser.php on line 83
Error: Maximum function nesting level of ‘256’ reached, aborting! in C:\Users\Ad2048\Local Sites\arcedu\app\public\wp-includes\class-wp-block-parser.php on line 83`
What I have found that Starter Templates plugin installs “Ultimate Addons for Gutenberg” plugin, and when I deactivate this plugin, the website works!
Steps to reproduce
I tried to add xdebug.max_nesting_levelsAs in ths topic and set it to 500 and even 1000 but no results.
Deleted and created the website multiple times, but still problem exist (even restart computer too).
Environment Info
What Operating System are you using? Windows 10 Education
What versions of site software (Nginx, Apache, PHP, MySQL) is used? Nginx
Hello @sambrockway , thank you for responding.
I have did what you mentioned in Notepad++, saved it, stopped and restarted website and another error showed up to me:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in
C:\Users\Ad2048\Local Sites\arcedu\app\public\wp-includes\class-wp-block-parser.php on
line 461
I restarted my PC too, but didn’t work.
Also I noticed that when I refresh the page, the line number in the error message is changing randomly!
EDIT: I have 12GB of memory.
Yes, @Abdo - I’m thinking (as @afragen mentioned) that plugin you mentioned might be causing some issues on your site - especially since the issue is resolved when it is disabled.
Hello there, Thank you for taking time.
I solved the problem, it looks like the theme I used has a problem, the contact block in the theme showed as “Block has been deleted or is unavailable.” in editing mode. but removing that block solved the problem!
Thank you @sambrockway@afragen for your support.