gpt4 book ai didi

php - 严格标准的 PHP 错误蛋糕

转载 作者:行者123 更新时间:2023-12-02 08:35:29 24 4
gpt4 key购买 nike

我在一段时间前从一家现已倒闭的公司购买的便士拍卖脚本中遇到错误,他们的网站已下线,无法从他们那里获得技术支持,这在过去大约一两年内有效几年前,现在它已上传,但我遇到了很多错误。谁能帮忙?

Strict Standards: Non-static method Configure::getInstance() should not be called   statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/config/core.php on line 50
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/config/core.php on line 51
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 643
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 663
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 664
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 670
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 671
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327
Strict Standards: Non-static method Cache::config() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 676
Strict Standards: Non-static method Cache::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 99
Strict Standards: Non-static method Configure::read() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/cache.php on line 373
Strict Standards: Non-static method Configure::getInstance() should not be called statically, assuming $this from incompatible context in /home/elevenbravo1990/public_html/TEST/cake/libs/configure.php on line 327

最佳答案

如果你的cakephp版本是1.3和php5.4

在 php 5.4 中,E_STRICT 属于 E_ALL

/cake/bootstrap.php 用这个替换 error_reporting() ...

error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);

引用:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665218

关于php - 严格标准的 PHP 错误蛋糕,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22035007/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com