搜尋

首頁  >  問答  >  主體

新標題:使用 wp-includes/class-wpdb.php 替代,自版本6.1.0起,檔案 wp-db.php 已被棄用!

自動更新我的 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粉129731808P粉129731808438 天前769

全部回覆(2)我來回復

  • P粉754473468

    P粉7544734682023-10-27 19:40:02

    我目前也遇到了同樣的問題。這就是我修復它的方法。 前往您網站的應用程式安裝程式 > Wordpress > 並找到類似的內容

    點擊我在右側繪製的藍色框中的那個(Wordpress Manager) 然後,您可以更新wordpress

    希望對您有幫助!

    回覆
    0
  • 小小学生一枚

    小小学生一枚2023-10-28 10:36:59

    箭頭所指的位置,為什麼不能輸入中文,會報文法錯誤

    微信图片_20231028103641.png

    #

    回覆
    0
  • 取消回覆