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

XF 1.4 Fatal Error: Maximum function nesting

Discussion in 'Troubleshooting and Problems' started by malachiel, Dec 6, 2014.

  1. malachiel

    malachiel Active Member

    Hi, i am running xenforo and i really love this, but i get this error everytime at time 04.00 AM-04.30 AM
    On Crontab at 04 i got this thing Post Ratings Daily Optimisation Next start: 7 Dic 2014 at 04:00
    Error info:
    ErrorException: Fatal Error: Maximum function nesting level of '100' reached, aborting! -library/XenForo/Template/Compiler/Statement/Abstract.php:14
    Generato Da: Account Sconosciuto, Oggi alle 04:32
    Stock data
    #0 [internal function]: XenForo_Application::handleFatalError()
    #1 {main}
    Stat
    array
    (size=3)
    'url' => string 'http://trollandia.it/deferred.php' (length=33)
    '_GET' =>
    array (size=0)
    empty
    '_POST' =>
    array (size=3)
    '_xfRequestUri' => string '/members/elav02.33/' (length=19)
    '_xfNoRedirect' => string '1' (length=1)
    '_xfResponseType' => string 'json' (length=4)
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    This isn't an XF bug.
    You should be able to configure that limit somewhere in your php.ini (or add it in case it isn't there already).
     
  3. malachiel

    malachiel Active Member

    so just add xdebug.max_nesting_level in php.ini?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    xdebug.max_nesting_level = X

    Where X is the desired value.
     
  5. Mike

    Mike XenForo Developer Staff Member

    Note that Xdebug isn't something you necessarily want to be using in production (depending on usage, it has non-trivial overhead).
     

Share This Page