全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 661|回复: 3

升级到php8.1 wordpress主题出现了一些报错

[复制链接]
发表于 2022-8-4 10:58:39 | 显示全部楼层 |阅读模式
本帖最后由 aixuan99 于 2022-8-4 10:58 编辑

Warning: Undefined variable $rrr in /home/wwwroot/xxx

Warning: Undefined variable $output in /home/wwwroot/xxx

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/wwwroot/xxx

null to parameter #1 ($string) of type string is deprecated in /home/wwwroot/xxx

这样的错误严重吗?用不用搭理它,我也不会改
发表于 2022-8-4 11:06:36 | 显示全部楼层
需要搭理,网络上搜索,都能得到解决的。。。wordpress github的历史记录里有修改的内容。或者对着出错的文件,对比新版wordpres有哪些地方需要修改。话说可以装多个php版本啊
 楼主| 发表于 2022-8-4 11:07:52 | 显示全部楼层
Perfwiki 发表于 2022-8-4 11:06
需要搭理,网络上搜索,都能得到解决的。。。wordpress github的历史记录里有修改的内容。或者对着出错的文 ...

都是主题的问题,就想问问严重不,不严重那把debug一关继续用了
发表于 2022-8-4 11:10:33 | 显示全部楼层
aixuan99 发表于 2022-8-4 11:07
都是主题的问题,就想问问严重不,不严重那把debug一关继续用了

最好修复,个人不喜欢看到出错的信息,有出错的信息就修改,或者调降Php版本
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-26 15:43 , Processed in 0.059429 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表