discuz x3.4 php7.4.5 代码报错
2024/04/24 19:01:47 [error] 2093#0: *1754499 FastCGI sent in stderr: "PHP message: PHP Warning: Declaration of table_forum_thread::update($tid, $data, $unbuffered = false, $low_priority = false, $tableid = 0, $realdata = false) should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false, $first = NULL, $invisible = NULL, $fid = NULL, $status = NULL) in /bbs/source/class/table/table_forum_thread.php on line 841PHP message: PHP Warning: Declaration of table_forum_post::update($tableid, $pid, $data, $unbuffered = false, $low_priority = false, $first = NULL, $invisible = NULL, $fid = NULL, $status = NULL) should be compatible with discuz_table::update($val, $data, $unbuffered = false, $low_priority = false, $first = NULL, $invisible = NULL, $fid = NULL, $status = NULL) in /bbs/source/class/table/table_forum_post.php on line 442PHP message: PHP Warning: Declaration of table_forum_post::delete($tableid, $pid, $unbuffered = false) should be compatible with discuz_table::delete($val, $unbuffered = false) in /bbs/source/class/table/table_forum_post.php on line 611PHP message: PHP Warning: Declaration of table_forum_post::insert($tableid, $data, $return_insert_id = false, $replace = false, $silent = false) should be compatible with discuz_table::insert($data, $return_insert_id = false, $replace = false, $silent = false) in /bbs/source/class/table/table_forum_post.php on line 607PHP message: PHP Warning: Declaration of table_forum_post::fetch($tableid, $pid, $outmsg = true) should be compatible with discuz_table::fetch($id, $force_from_db = false) in /bbs/source/class/table/table_forum_post.php on line 133PHP message: PHP Warning: Declaration of table_forum_post::fetch_all($tableid, $pids, $outmsg = true) should be compatible with discuz_table::fetch_all($ids, $force_from_db = false) in /bbs/source/class/table/table_forum_post.php on line 177PHP message: PHP Warning:
方法声明与父类方法不兼容? 请教大佬,怎么简单修改好?
1
via 224 天前 via iPhone
修改成兼容?
|
2
BeijingBaby 224 天前
只是警告,简单屏蔽就可以了
|
3
aaabababa OP @BeijingBaby 屏蔽感觉有点不好
|