Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

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 · 798 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 Thomas, 1 week ago
2 53 9 hours ago
Support · by Anna, 3 days ago
2 59 12 hours ago
Support · by Justin Young, 13 hours ago
1 30 13 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 56 5 days ago