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

Server Issue Maximum function nesting level of '100' reached, aborting!

Discussion in 'Resolved Bug Reports' started by Arty, Sep 4, 2015.

  1. Arty

    Arty Well-Known Member

    I got that error message when running template recompilation after updating style (admin.php?tools/run-deferred).

    Full error:
    Stack:
    Code:
    Call Stack
    #	Time	Memory	Function	Location
    1	0.0001	251136	{main}( )	../admin.php:0
    2	0.0066	1300200	XenForo_FrontController->run( )	../admin.php:13
    3	0.0265	4370224	XenForo_FrontController->dispatch( )	../FrontController.php:134
    4	0.0414	6386616	XenForo_ControllerAdmin_Tools->actionRunDeferred( )	../FrontController.php:347
    5	0.0426	6558984	XenForo_Model_Deferred->run( )	../Tools.php:159
    6	0.0433	6498088	XenForo_Model_Deferred->_runInternal( )	../Deferred.php:374
    7	0.0434	6499008	XenForo_Model_Deferred->runDeferred( )	../Deferred.php:429
    8	0.0629	6516312	XenForo_Deferred_Template->execute( )	../Deferred.php:295
    9	0.0656	6900184	XenForo_Model_Template->compileAllTemplates( )	../Template.php:36
    10	0.0773	9846592	XenForo_Model_Template->compileNamedTemplateInStyleTree( )	../Template.php:1267
    11	0.0780	9821960	XenForo_Model_Template->compileTemplateInStyleTree( )	../Template.php:1328
    12	0.0785	9846216	XenForo_Model_Template->compileAndInsertParsedTemplate( )	../Template.php:1378
    13	0.0865	10810728	XenForo_Template_Compiler->compileParsed( )	../Template.php:1611
    14	0.0869	10811432	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:372
    15	0.0874	10833488	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    16	0.0874	10833488	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    17	0.0874	10833752	XenForo_Template_Compiler_Tag_Hook->compile( )	../Compiler.php:641
    18	0.0875	10834136	XenForo_Template_Compiler->compileIntoVariable( )	../Hook.php:37
    19	0.0875	10834584	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    20	0.0875	10836352	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    21	0.0875	10836352	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    22	0.0875	10837096	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    23	0.0880	10845312	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    24	0.0880	10845744	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    25	0.0880	10845744	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    26	0.0880	10846416	XenForo_Template_Compiler_Tag_Include->compile( )	../Compiler.php:641
    27	0.0899	10940376	XenForo_Template_Compiler->compileIntoVariable( )	../Include.php:113
    28	0.0900	10940624	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    29	0.0901	10942480	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    30	0.0901	10942480	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    31	0.0901	10942560	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    32	0.0911	10951544	XenForo_Template_Compiler->compileIntoVariable( )	../If.php:125
    33	0.0911	10951792	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    34	0.1392	11491184	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    35	0.1392	11491184	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    36	0.1392	11491264	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    37	0.1395	11494592	XenForo_Template_Compiler->compileIntoVariable( )	../If.php:125
    38	0.1395	11494840	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    39	0.1396	11498024	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    40	0.1396	11498024	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    41	0.1396	11498104	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    42	0.1397	11500688	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    43	0.1397	11501680	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    44	0.1397	11501680	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    45	0.1398	11501760	XenForo_Template_Compiler_Tag_Include->compile( )	../Compiler.php:641
    46	0.1612	11851344	XenForo_Template_Compiler->compileIntoVariable( )	../Include.php:113
    47	0.1612	11851592	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    48	0.1612	11852024	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    49	0.1612	11852024	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    50	0.1612	11852104	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    51	0.1613	11854792	XenForo_Template_Compiler->compileIntoVariable( )	../If.php:125
    52	0.1613	11855040	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    53	0.1613	11856032	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    54	0.1613	11856032	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    55	0.1613	11856112	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    56	0.1617	11863440	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    57	0.1685	11903392	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    58	0.1685	11903392	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    59	0.1685	11903472	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    60	0.1687	12037184	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    61	0.1687	12038176	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    62	0.1687	12038176	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    63	0.1687	12038256	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    64	0.1689	12041344	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    65	0.1699	12045368	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    66	0.1699	12045368	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    67	0.1699	12045448	XenForo_Template_Compiler_Tag_Include->compile( )	../Compiler.php:641
    68	0.1709	12038648	XenForo_Template_Compiler->compileIntoVariable( )	../Include.php:113
    69	0.1709	12038896	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    70	0.1709	12039328	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    71	0.1709	12039328	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    72	0.1709	12039408	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    73	0.1712	12042080	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    74	0.1712	12043248	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    75	0.1712	12043248	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    76	0.1712	12043328	XenForo_Template_Compiler_Tag_Include->compile( )	../Compiler.php:641
    77	0.1891	12142912	XenForo_Template_Compiler->compileIntoVariable( )	../Include.php:113
    78	0.1891	12143160	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    79	0.1903	12146696	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    80	0.1903	12146696	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    81	0.1903	12146776	XenForo_Template_Compiler_Tag_Hook->compile( )	../Compiler.php:641
    82	0.1903	12146904	XenForo_Template_Compiler->compileIntoVariable( )	../Hook.php:37
    83	0.1904	12147152	XenForo_Template_Compiler->compileSegments( )	../Compiler.php:422
    84	0.1904	12152656	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    85	0.1904	12152656	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    86	0.1904	12152736	XenForo_Template_Compiler_Tag_If->compile( )	../Compiler.php:641
    87	0.1905	12155232	XenForo_Template_Compiler->compileSegments( )	../If.php:112
    88	0.1906	12156224	XenForo_Template_Compiler->compileSegment( )	../Compiler.php:509
    89	0.1906	12156224	XenForo_Template_Compiler->compileTag( )	../Compiler.php:570
    90	0.1906	12156304	XenForo_Template_Compiler_Tag_Include->compile( )	../Compiler.php:641
    91	0.1906	12156304	XenForo_Template_Compiler->includeParsedTemplate( )	../Include.php:34
    92	0.1906	12156304	XenForo_Template_Compiler->_getParsedTemplateFromModel( )	../Compiler.php:1409
    93	0.1906	12156456	XenForo_Model_Template->getEffectiveTemplateByTitle( )	../Compiler.php:1470
    94	0.1906	12157272	Zend_Db_Adapter_Abstract->fetchRow( )	../Template.php:179
    95	0.1906	12157272	Zend_Db_Adapter_Abstract->query( )	../Abstract.php:753
    96	0.1906	12157272	Zend_Db_Adapter_Mysqli->prepare( )	../Abstract.php:478
    97	0.1907	12146480	Zend_Db_Statement->__construct( )	../Mysqli.php:381
    98	0.1907	12146888	Zend_Db_Statement_Mysqli->_prepare( )	../Statement.php:115
    99	0.1907	12146888	Zend_Db_Adapter_Abstract->getConnection( )
    PHP Version 5.6.11
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Try disabling xdebug, or increase the max_nesting_level in php.ini.
     
  3. Mike

    Mike XenForo Developer Staff Member

    Indeed, this is an Xdebug limit. The limit there is more to stop an infinite loop, but this nesting is expected.
     

Share This Page