PHP - PHP Fatal error: Maximum function nesting level of '256' reached, aborting!


Материал из Wiki - Iphoster - 'the best ever support'

Перейти к: навигация, поиск

Доступная цена

PHP - PHP Fatal error: Maximum function nesting level of '256' reached, aborting!

Ошибка вида:

[24-Feb-2017 08:54:12 Europe/London] PHP Fatal error:  Maximum function nesting level of '256' reached, aborting! in /home/user/public_html/system/library/session/native.php on line 9
[24-Feb-2017 08:54:12 Europe/London] PHP Stack trace:
[24-Feb-2017 08:54:12 Europe/London] PHP   1. {main}() /home/user/public_html/install/index.php:0
[24-Feb-2017 08:54:12 Europe/London] PHP   2. start() /home/user/public_html/install/index.php:31
[24-Feb-2017 08:54:12 Europe/London] PHP   3. require_once() /home/user/public_html/system/startup.php:105
[24-Feb-2017 08:54:12 Europe/London] PHP   4. Session->__construct() /home/user/public_html/system/framework.php:40
[24-Feb-2017 08:54:12 Europe/London] PHP   5. session_start() /home/user/public_html/system/library/session.php:30
[24-Feb-2017 08:54:12 Europe/London] PHP   6. Session\Native->open() /home/user/public_html/system/library/session.php:30
[24-Feb-2017 08:54:12 Europe/London] PHP   7. SessionHandler->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP   8. Session\Native->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP   9. SessionHandler->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  10. Session\Native->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  11. SessionHandler->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  12. Session\Native->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  13. SessionHandler->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  14. Session\Native->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  15. SessionHandler->open() /home/user/public_html/system/library/session/native.php:9
[24-Feb-2017 08:54:12 Europe/London] PHP  16. Session\Native->open() /home/user/public_html/system/library/session/native.php:9


Решается либо отключением для PHP - xdebug:

1111-xdebug.png


либо поднятием лимита в php.ini xdebug.max_nesting_level:

xdebug.max_nesting_level = 2000
Индекс цитирования