Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Error in admin dashboard: Maximum function nesting level reached

admin first-time

Solved by Peter Fuchs View solution

Started by P. Mergey 9 years ago · 2 replies · 989 views
9 years ago

On a totally fresh new (local) install of Grav + Admin (version 1.3.7), I get the following error when I try to click on the top left link on the admin dashboard menu (which normally will open /admin/user/username):

grav.CRITICAL: Maximum function nesting level of '100' reached, aborting! - Trace: #0 ~\webroot\grav\vendor\filp\whoops\src\Whoops\Run.php(383): Whoops\Run->handleError(1, 'Maximum functio...', '~\webroot\grav', 152) #1 ~\webroot\grav\system\src\Grav\Common\Errors\SystemFacade.php(36): Whoops\Run->handleShutdown() #2 [internal function]: Grav\Common\Errors\SystemFacade->handleShutdown() #3 {main} [] []

As I did not found any references for such error on the issues tracker, I suppose this error is due to a personal setting, but I can not figure where: any suggestions?


~\webroot\grav stands for my local instalation path...

9 years ago Solution

If you use xdebug with your webserver and php installation you can try to increase the value of the
xdebug.max_nesting_level setting.

9 years ago

@renards : Thanks. I have increased the value to 256 according to the official documentation for Xdebug (where it is specified that it is now the current value).

All works fine now.

Suggested topics

Topic Participants Replies Views Activity
Support · by complanar, 6 days ago
6 139 15 hours ago
Support · by Rick Beebe, 6 days ago
2 100 2 days ago
Support · by blu3prince, 3 days ago
0 51 3 days ago
Support · by alex, 4 days ago
2 92 3 days ago
Support · by Marcel, 2 weeks ago
1 143 4 days ago