Wikipedia

Search results

Sunday, October 21, 2018

Fatal error: Maximum function nesting level of '100' reached, aborting! in Magneto eCommerce


Context :

If you use the optional PHP extension xdebug, you can encounter exceptions:
  • During installation
  • Accessing either the Magento Admin or storefront after a successful installation
Sample exception:

Fatal error: Maximum function nesting level of '100' reached, aborting!

Solution :

To resolve this issue, you can:
  • Disable the xdebug extension.
  • Set the value of xdebug.max_nesting_level to a value of 200 or more. For more information, see xdebug documentation.
After you change the configuration of or disable xdebug, restart Apache:
  • CentOS: sudo service httpd restart
  • Ubuntu: sudo service apache2 restart
Note :

xdebug.max_nesting_level
Type: integer, Default value: 256
Controls the protection mechanism for infinite recursion protection. The value of this setting is the maximum level of nested functions that are allowed before the script will be aborted.Before Xdebug 2.3, the default value was 100

No comments:

Post a Comment