1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Fatal Error: Maximum function nesting level of '100' reached, aborting!

Discussion in 'XenForo Questions and Support' started by Blake Jones, Apr 3, 2014.

  1. Blake Jones

    Blake Jones Member

    In one of my posts, I've been using too much BB code, and as a result, an error has been thrown. So, I want to find out where I can increase this Maximum function nesting level, and I heard it's in php.ini. However, I don't know where this file is. I'm currently using WAMP to host my server on my home computer.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If you are using WAMP, it will be something like C:\WAMP\PHP\php.ini

    Basically wherever you have installed WAMP, in the PHP folder.
  3. Blake Jones

    Blake Jones Member

    I went to C:\WAMP\bin\php\php5.4.12\php.ini

    There appears to be no "maximum function nesting level" however there is a Maximum_input_nesting_level hidden by comments (;). Could removed the ; (comments) and setting the max-input to say, 250 fix this error?
  4. MattW

    MattW Well-Known Member

    If it's commented out, it will be using the default values. You can check what that currently is by looking at phpinfo via the ACP

    Uncommenting and setting your own value, and restarting the webserver should sort it.
  5. Blake Jones

    Blake Jones Member

    I went in my Php files and changed the max_input_nesting_level to 150, but I still get an error saying the max is 100. I did remove the comment.
  6. Mike

    Mike XenForo Developer Staff Member

    This is an xdebug setting (xdebug.max_nesting_level).
  7. Blake Jones

    Blake Jones Member

    Where could I find these xdebug settings?
  8. Mike

    Mike XenForo Developer Staff Member

    Normally they're set via php.ini. There could be multiple ini files loaded (phpinfo would tell you where they are specifically). If you can't find a rule, you can just write a new line to increase it (or disable xdebug; the specifics of that would be controlled by WAMP).
  9. I just had one of your Tech support people tell me this was a third party issue. So weird.

    What is WAMP?

Share This Page