Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/286.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
严格标准:重新定义PHP中已定义的类错误构造函数_Php_Error Handling_Standards_Strict - Fatal编程技术网

严格标准:重新定义PHP中已定义的类错误构造函数

严格标准:重新定义PHP中已定义的类错误构造函数,php,error-handling,standards,strict,Php,Error Handling,Standards,Strict,运行php应用程序时出现错误 Strict standards: Redefining already defined constructor for class Strict standards: Non-static method Logger::instance() should not be called statically 我正在使用PHP5.4something版本,并使用PHP.ini错误报告进行检查,但错误仍然会出现 在php.ini中有什么问题吗 我试着跟着 error_

运行php应用程序时出现错误

Strict standards: Redefining already defined constructor for class

Strict standards: Non-static method Logger::instance() should not be called statically
我正在使用
PHP5.4
something版本,并使用
PHP.ini
错误报告进行检查,但错误仍然会出现

php.ini中有什么问题吗

我试着跟着

error_reporting = E_ALL & ~E_DEPRECATED

error_reporting   = E_ALL & ~E_STRICT & ~E_DEPRECATED;

问题是什么?有人能帮我吗?

发布导致错误的行的代码。发布导致错误的行的代码。