≪ MODx Parse Error ≫
MODx encountered the following error while attempting to parse the requested resource:
≪ PHP Parse Error ≫
PHP error debug
Error: Function split() is deprecated
Error type/ Nr.: – 8192
File: /moemoe/hoehoe/document.parser.class.inc.php(746) : eval()’d code
Line: 135
Parser timing
MySQL: 0.1062 s (4 Requests)
PHP: 0.0176 s
Total: 0.1238 s
とかって出る場合
manager/includes/config.inc.php
の49行目
error_reporting(E_ALL & ~E_NOTICE);
を
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
manager/includes/document.parser.class.inc.php
の
2614行目
if (error_reporting() == 0 || $nr == 0 || ($nr == 8 && $this->stopOnNotice == false)) {
を
if (error_reporting() == 0 || $nr == 0 || (error_reporting() & $nr) != $nr || ($nr == 8 && $this->stopOnNotice == false)) {
に変更
で、エラーは出なくなるみたい