weixin_39977547 2020-11-20 21:00
浏览 2

MAX nesting level reached aborting error

https://stackoverflow.com/questions/8656089/ If your getting nesting level errors. I think this may explain a lot when it comes to WAMP anyway. I see this sometimes running program O but did not know what the error meant until now. Anyway its worth looking at if you are seeing it a a lot. TNX

该提问来源于开源项目:Program-O/Program-O

  • 写回答

5条回答 默认 最新

  • weixin_39977547 2020-11-20 21:00
    关注

    `[30-Aug-2018 12:05:05 America/Detroit] PHP Fatal error: Uncaught Error: Maximum function nesting level of '256' reached, aborting! in H:\wamp64\www\ProgramO\library\error_functions.php:67 Stack trace:

    0 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml_as_XML.php(1493): runDebug('H:\wamp64\www\P...', 'tag_to_string', 1493, 'converting the ...', 2)

    1 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml_as_XML.php(766): tag_to_string(Array, Object(SimpleXMLElement), 'srai', 1, 'element')

    2 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml_as_XML.php(231): parse_srai_tag(Array, Object(SimpleXMLElement), 'srai', 1)

    3 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml_as_XML.php(259): parseTemplateRecursive(Array, Object(SimpleXMLElement), 1)

    4 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml.php(457): parseTemplateRecursive(Array, Object(SimpleXMLElement))

    5 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml_as_XML.php(770): run_srai(Array, 'are you sure')

    6 H:\wamp64\www\ProgramO\chatbot\core\aiml\parse_aiml_as_XML.php(231): parse_srai_tag(Array, Ob in H:\wamp64\www\ProgramO\library\error_functions.php on line 67`

    Forgot to include one of the errors in the log. When this happens all chats stop leaving Program-O in limbo. Happens for me after about 100 rounds of fast chat then it all just stops. tnx

    评论

报告相同问题?