将 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
我已经尝试过以下解决方案
安装 php5-curl 包后 Cakephp 不起作用(由于我已经烘焙了我的项目,因此无法找到“Cake”文件夹)
https://stackoverflow.com/questions/11799085/turn-off-php-strict-standards?lq=1(无法关闭错误)
每次更改后清除蛋糕缓存、Web 浏览器缓存、cookie 并重新启动服务器。甚至在私人浏览和chrome、firefox中也试过。