I get the following error:
Container.php line 702: Maximum function nesting level of '100' reached, aborting!
I already increased the max nested level Attribute in my PHP.ini to 500. But nothing changed after restarting services in wamp. I use wamp and Laravel 5.2
Any ideas why this happens?
它可能来自Web中间件,如果不需要,您可以从路由中删除它。
Worked for me, edit the file php.ini or 50-extension-xdebug.ini and add the following: xdebug.max_nesting_level = 250 to increase the value of '100' that comes by default. And then restart the apache service.
在您的引导应用程序文件中设置php ini,如下所示:
ini_set('xdebug.max_nesting_level', 2048);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.