【发布时间】:2018-10-19 08:12:08
【问题描述】:
我最近将我的 PHPlinkdirectory 的 PHP 版本更新为最新版本,但更新后我开始出现以下错误。我立即将新版本更改为旧版本,但错误仍然存在。
PHP 在 5.4 版上运行。
Strict Standards: Only variables should be assigned by reference in /home/domain/public_html/init.php on line 275
Strict Standards: Non-static method SmartyPaginate::connect() should not be called statically in /home/domain/public_html/index.php on line 688
Strict Standards: Non-static method SmartyPaginate::getTotal() should not be called statically in /home/domain/public_html/libs/smarty/SmartyPaginate.class.php on line 51
Strict Standards: Non-static method SmartyPaginate::getUrlVar() should not be called statically in /home/domain/public_html/libs/smarty/SmartyPaginate.class.php on line 52
Strict Standards: Non-static method SmartyPaginate::disconnect() should not be called statically in /home/domain/public_html/index.php on line 693
Strict Standards: Non-static method SmartyPaginate::reset() should not be called statically in /home/domain/public_html/index.php on line 694
Strict Standards: Non-static method SmartyPaginate::setPrevText() should not be called statically in /home/domain/public_html/index.php on line 696
Strict Standards: Non-static method SmartyPaginate::setNextText() should not be called statically in /home/domain/public_html/index.php on line 697
【问题讨论】:
-
和stackoverflow.com/questions/4684454/…请在提问前做一些基础研究。
-
你的代码芽呢?没有看到实际代码就帮不上忙
-
@misorude。我试过了,但没有解决问题。
-
@ThisGuyHasTwoThumbs 请让我知道您确切需要哪个代码,因为我不知道实际文件。
标签: php