PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 PHP的致命錯誤就請Add_Query_Var在Taxonomy.php後升級到WordPress的2.5 RC2中
After upgrading to經過升級 WordPress 2.5 RC2 WordPress的2.5 RC2中 , some WordPress iinstallation will return completely blank web page or all blog posts, pages and even wp-admin administrator dashboard and other administrative panel.一些WordPress的iinstallation將返回完全空白的網頁或所有博客帖子,網頁,甚至可濕性粉劑管理員管理員控制台和其他行政小組。 Or the following error will be displayed (the error message will also be logged and captured in Apache error_log).或下面的錯誤將顯示(該錯誤信息也將被記錄,並抓獲在Apache錯誤信息) 。
PHP Fatal error: Call to a member function add_query_var() on a non-object in /home/domain/public_html/wp-includes/taxonomy.php on line 165 PHP的致命錯誤:呼叫一個成員函數add_query_var ( )的一個非對象在/ home /網域/ public_html /可濕性粉劑,包括/ taxonomy.php線165
The error happens because the webmaster upgrades to WordPress 2.5 RC2 without deactivating the plugins activated beforehand, and apparently there is plug-in that conflict or not compatible with the new beta release of WordPress 2.5.錯誤發生,因為網站管理員升級到WordPress的2.5 RC2中沒有關閉該插件激活事前,顯然有插件,衝突或不兼容的新版本的WordPress的2.5 。 The problem happens even though users are upgrading from WordPress 2.5 RC1, and has no problem on that version.這個問題發生,即使用戶升級到WordPress的2.5 RC1的,沒有任何問題的版本。
The unsupported plugin is related to tags.不受支持的插件的相關標籤。 For example, Simple Tags and bSuite, no longer works in WordPress 2.5 RC2, and probably in final 2.5 version too.例如,簡單的標記和bSuite ,不再工程WordPress的2.5 RC2中,並可能在最後的2.5版本太多。
The best way to avoid the error is to disable all plugins before upgrading, and then turn on the plugins one by one to ensure compatibility, and deactivate those causing the blank or error webpages.最好的辦法,以避免錯誤是停用所有插件升級之前,然後打開插件一個接一個,以確保兼容性,並停用這些造成的空白或錯誤網頁。
However, if you already upgraded and forgot to deactivate the plugins, and now facing the the problem usable to access Plugin Management page anymore to disable tags related plugins, try the following workarounds to fix the issue.不過,如果您已經升級和忘記停用插件,而現在面臨的問題可進入插件管理頁面了禁用標籤相關插件,請嘗試以下變通解決這一問題。
- Login to the server, and delete the possible incompatible plugin away.登錄到服務器,並刪除可能不兼容的插件了。
- Downgrade to WordPress 2.5 RC1 ( WordPress的降級為2.5的RC1 ( download link下載鏈接 ) to disable all plugins, and then upgrade to )禁用所有插件,然後升級到 WordPress 2.5 RC2 WordPress的2.5 RC2中 , or final version when released, again. ,或最終版本發布的時候,再次。
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 重要:您正在閱讀的機器翻譯網頁這是“原樣”提供,無保修。 Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible.不同人的翻譯,機器翻譯不明白的語法,語義,句法,成語自然語言,因此,往往產生不準確,低質量的文字這是誤導和費解。 Thus, please refer to因此,請參閱 original English article英文原文的文章 when in doubt.當懷疑。
Related Articles相關文章
- Call to Undefined Function get_currentuserinfo() Error in WordPress呼籲未定義功能get_currentuserinfo ( )在WordPress的錯誤
- Call To Undefined Function: ctype_digit() in WordPress 2.5呼籲未定義功能: ctype_digit ( )在WordPress的2.5
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5呼籲未定義功能: wp_constrain_dimensions ( )當上傳圖片或image_downsize ( )在畫廊/傳媒圖書館在WordPress的2.5
- USB Unknown Device Drive Issue, Not Working, Recognized or Connected Error After Upgrading and Installing Vista SP1未知設備的USB驅動器的問題,沒有工作,承認或連接錯誤後,升級和安裝Vista SP1的
- WordPress 2.5 RC2 Released for Download WordPress的2.5 RC2測試版發布下載
- WordPress 2.5 Released for Free Download WordPress的2.5發布免費下載
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7修正2.5 WordPress的圖像或媒體閃光燈上傳不工作的問題在IE7
- WordPress 2.5.1 Released for Download WordPress的2.5.1發布下載
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin禁用WordPress的2.5閃光圖片/視頻/媒體上傳與插件
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5媒體按鈕Disabler插件刪除“添加媒體”圖標在WordPress的2.5

































March 30th, 2008 13:52二零零八年3月30日13時52分
[...] If you’re upgrading from previous older version of WordPress, remember to read WordPress upgrade instructions, and verify the plugins compatibility to avoid any unforeseen problems. [...]如果你升級以前舊版本的WordPress的,請記住閱讀WordPress的升級指示,並驗證插件的兼容性,以避免任何意外問題。 [...]
April 5th, 2008 13:56 2008年4月5號13:56
[...] reading PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 at Tip and [...] [...]閱讀PHP的致命錯誤就請Add_Query_Var在Taxonomy.php後升級到WordPress的2.5 RC2中的提示和[...]