【发布时间】:2012-12-28 02:57:06
【问题描述】:
将 php 更新到 5.4 版后出现以下错误
Strict Standards: Non-static method Debugger::invoke() should not be called statically, assuming $this from incompatible context in /usr/share/php/cake/libs/debugger.php on line 575
Strict Standards: Non-static method Debugger::getInstance() should not be called statically, assuming $this from incompatible context in /usr/share/php/cake/libs/debugger.php on line 575
我已经尝试过以下解决方案
Error while Disabling error reporting in CakePHP
Cakephp doesn't work after installing php5-curl package(因为我已经烘焙了我的项目,所以无法找到“Cake”文件夹)
Wampserver cakephp 1.3 Strict standards error
How to eliminate php5 Strict standards errors?
PHP 5 disable strict standards error
https://stackoverflow.com/questions/11799085/turn-off-php-strict-standards?lq=1(无法关闭错误)
每次更改后清除蛋糕缓存、网络浏览器缓存、cookie 和重新启动服务器。甚至在隐私浏览和chrome、firefox也试过了。
【问题讨论】: