新標題:使用 wp-includes/class-wpdb.php 替代,自版本6.1.0起,檔案 wp-db.php 已被棄用!
P粉129731808
P粉129731808 2023-10-26 21:42:47
0
2
737

自動更新我的 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

#
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板