Wednesday, January 28, 2015

"Maximum function nesting level of '100' reached, aborting"

On a fresh install of Drupal 8, Beta 4, when I tried to create a Basic Page I got the following PHP fatal error.

  Maximum function nesting level of '100' reached, aborting

In my case, it was apparently hitting a limit that is set by xDebug. To fix this on my system, which is running Linux Mint 17 with Apache 2.4.7,

1)  Added the following line to /etc/php5/mods-available/xdebug.ini

  xdebug.max_nesting_level=200

2)  Restarted Apache.

  # service apache2 restart


Sources:

Error on install Maximum function nesting level of '100' reached, aborting!
https://www.drupal.org/node/1663314

Maximum function nesting level reached error in Drupal
http://stackoverflow.com/questions/5103182/maximum-function-nesting-level-reached-error-in-drupal

No comments:

Post a Comment