由于可能存在无限循环,脚本中止

mag*_*.77 9 xdebug neoscms

我已按照以下说明设置了最新版本的 NEOS:

  1. https://docs.neos.io/cms/installation-development-setup/manual-installation-with-a-web-server

  2. https://docs.neos.io/cms/installation-development-setup/running-the-setup-tool

登录 CMS 后,出现以下错误:

Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames
Exception Code  0
Exception Type  Error
Thrown in File  Packages/Framework/Neos.Flow/Classes/ObjectManagement/ObjectManager.php
Line    539
Run Code Online (Sandbox Code Playgroud)

我当地的环境:

PHP Version 7.3.26-1+ubuntu20.04.1+deb.sury.org+1
XDebug 3.0.2
Run Code Online (Sandbox Code Playgroud)

这里出了什么问题?

mag*_*.77 17

这解决了我的问题 20-xdebug.ini

[xdebug]
xdebug.max_nesting_level=512
Run Code Online (Sandbox Code Playgroud)

php.ini

max_execution_time = 600
Run Code Online (Sandbox Code Playgroud)

  • 这是一个解决方法。不是一个解决方案。您或某人稍后才会遇到问题。 (4认同)
  • 那么解决方案是什么,我也面临着同样的问题。 (2认同)