|
source/class/discuz/discuz_error.php
文件报错,说是getglobal未定义
dzx3.4 php7.4
是不是php7弃用getglobal函数的原因?
报错内容
error: Uncaught Error: Call to undefined function getglobal() in /www/wwwroot/nbsxp.cn/source/class/discuz/discuz_error.php:387 Stack trace: #0 /www/wwwroot/nbsxp.cn/source/class/discuz/discuz_error.php(186): discuz_error::write_error_log() #1 /www/wwwroot/nbsxp.cn/source/class/class_core.php(121): discuz_error::exception_error() #2 [internal function]: core::handleException() #3 {main} thrown in /www/wwwroot/nbsxp.cn/source/class/discuz/discuz_error.php on line 387" while reading response header from upstream, client: 125.94.248.181, server: www.nbsxp.cn, request: "GET /forum.php?mod=guide&view=hot&mobile=2 HTTP/1.1", upstream: "fastcgi://unix:/tmp/php-cgi-74.sock:", host: "www.nbsxp.cn" 2025/01/03 13:34:26 [error] 572644#0: *2200 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function getglobal() in /www/wwwroot/nbsxp.cn/source/class/discuz/discuz_error.php:387 Stack trace: #0 /www/wwwroot/nbsxp.cn/source/class/discuz/discuz_error.php(186): discuz_error::write_error_log() #1 /www/wwwroot/nbsxp.cn/source/class/class_core.php(121): discuz_error::exception_error() #2 [internal function]: core::handleException() #3 {main} thrown in /www/wwwroot/nbsxp.cn/source/class/discuz/discuz_error.php on line 387" while reading我知道答案 回答被采纳将会获得1 贡献 已有6人回答 |
|