discuz3.3与php7.1,3.3在PHP 7.1下的Warning

服务器nginx日志显示PHP7.1版本的forum_post表类与Discuz!的table类存在方法签名不兼容警告,涉及update_cache、update、delete、insert和fetch系列方法。这可能影响到网站的RSS和论坛数据处理。
摘要由CSDN通过智能技术生成

PHP版本:

PHP 7.1.0-5+deb.sury.org~xenial+1 (cli) ( NTS )

Copyright (c) 1997-2016 The PHP Group

Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies

with Zend OPcache v7.1.0-5+deb.sury.org~xenial+1, Copyright (c) 1999-2016, by Zend Technologies

以下是服务器nginx日志:

PHP message: PHP Warning: Declaration of table_forum_post::update_cache($tableid, $id, $idtype, $data, $condition = Array, $glue = 'merge') should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /www/source/class/table/table_forum_post.php on line 0" while reading response header from upstream, client: xxx, server: xxx, request: "GET /forum.php?mod=rss&auth=0 HTTP/1.0", upstream: "fastcgi://unix:/var/run/php71-fpm-xxx.sock:", host: "xxx"

2017/01/30 09:13:04 [error] 7826#7826: *250645 FastCGI sent in stderr: "PHP 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) in /www/source/class/table/table_forum_post.php on line 0

PHP message: PHP Warning: Declaration of table_forum_post::delete($tableid, $pid, $unbuffered = false) should be compatible with discuz_table::delete($val, $unbuffered = false) in /www/source/class/table/table_forum_post.php on line 0

PHP 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 /www/source/class/table/table_forum_post.php on line 0 PHP 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 /www/source/class/table/table_forum_post.php on line 0

PHP 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 /www/source/class/table/table_forum_post.php on line 0

PHP message: PHP Warning: Declaration of table_forum_post::update_cache($tableid, $id, $idtype, $data, $condition = Array, $glue = 'merge') should be compatible with discuz_table::update_cache($id, $data, $cache_ttl = NULL, $pre_cache_key = NULL) in /www/source/class/table/table_forum_post.php on line 0" while reading response header from upstream, client: xxx, server: xxx, request: "GET /forum.php?mod=rss&fid=131&auth=0 HTTP/2.0", upstream: "fastcgi://unix:/var/run/php71-fpm-xxx.sock:", host: "xxx"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值