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中的提示和[...]