AlanJia2017 Publish time 2018-07-05 20:05

apache运行日志出现不少错误提示

本帖最后由 AlanJia2017 于 2018-7-5 20:07 编辑

PHP Strict Standards:Declaration of table_forum_post::update() should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false) inxxxx

PHP Strict Standards:Declaration of table_forum_post::delete() should be compatible with discuz_table::delete($val, $unbuffered = false) in xxx

PHP Strict Standards:Declaration of table_forum_post::insert() should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in xxx

PHP Strict Standards:Declaration of table_forum_post::fetch() should be compatible with discuz_table::fetch($id, $force_from_db = false) in xx

PHP Strict Standards:Declaration of table_forum_post::fetch_all() should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) inxxx

PHP Strict Standards:Declaration of table_forum_post::update_cache() should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) inxx

vot Publish time 2018-07-05 20:28

There is a good practice to report your environment when reporting a bug.
Use it please!
I guess you use PHP7, do you?

vot Publish time 2018-07-05 21:57

What the PHP version used???

AlanJia2017 Publish time 2018-07-06 10:47

static/image/common/user_online.gif vot static/image/common/clock.gif 2018-7-5 21:57
What the PHP version used???

我用的是WINNT / PHP v5.5.38

vot Publish time 2018-07-09 19:46

Thank you.
The problem is because of Dzx does not follow the PHP Strict Standards :(
It is a GREAT PROBLEM!
For now I can offer only one stupid solution - disable the PHP STRICT rule!
instead of this:
error_reporting(E_ALL);
Use this modified:
error_reporting(E_ALL ^ E_STRICT);

Pages: [1]
View full version: apache运行日志出现不少错误提示