新标题:使用 wp-includes/class-wpdb.php 替代,自版本6.1.0起,文件 wp-db.php 已被弃用!
P粉129731808
P粉129731808 2023-10-26 21:42:47
0
2
721

自动更新我的 WordPress 安装后,我的网站显示此错误而不是加载。

Deprecated: File wp-db.php is deprecated since version 6.1.0! Use wp-includes/class-wpdb.php instead. in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5595

Warning: require(/home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/class-wp-dependencies.php): failed to open stream: No such file or directory in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/script-loader.php on line 23

Fatal error: require(): Failed opening required '/home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/class-wp-dependencies.php' (include_path='.:/usr/share/pear/') in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/script-loader.php on line 23

Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5835

Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/vol13_4/epizy.com/epiz_30367402/htdocs/wp-includes/functions.php on line 5835
There has been a critical error on this website.

有人可以帮助我理解这个错误,并为我提供解决方案或一些提示,以便我找到解决方案。

P粉129731808
P粉129731808

全部回复(2)
P粉754473468

我目前也遇到了同样的问题。这就是我修复它的方法。 转到您网站的应用程序安装程序 > Wordpress > 并找到类似的内容

单击我在右侧绘制的蓝色框中的那个(Wordpress Manager) 然后,您可以更新wordpress

希望对您有帮助!

李乐方

箭头所指的位置,为什么不能输入中文,会报语法错误

微信图片_20231028103641.png

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!