致命错误:调用未定义的函数 is_multisite()?
最近我自动更新了wordpress 3.0。更新之前,一切正常。更新后,页面显示错误消息
致命错误:在第 505 行调用 /home1/servername/public_html/myfolder/mysite/wp-includes/wp-db.php 中未定义的函数 is_multisite()
然后,我用来自 FTP 的新版本文件覆盖了所有文件。但我仍然遇到同样的问题。谁能帮我解决这个问题。提前致谢。
Recently i updated wordpress 3.0 automatically. Before update, everything working fine. After the update, page is displayed with error message
Fatal error: Call to undefined function is_multisite() in /home1/servername/public_html/myfolder/mysite/wp-includes/wp-db.php on line 505
I then overwritten all the files with new version files from FTP. But still I am having the same problem. Can anyone help me to solve this problem. Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
通过 FTP 传输文件
wp-includes/load.php
和wp-settings.php
并检查;function is_multisite()
require( ABSPATH . WPINC . '/load.php' );
如果一切正常,请通过删除它们或在插件文件夹中临时重命名它们来禁用任何麻烦的插件。
FTP the file
wp-includes/load.php
andwp-settings.php
and check that;function is_multisite()
require( ABSPATH . WPINC . '/load.php' );
If that's all ok, disable any troublemaking plugins by deleting them or temporarily renaming them in your plugins folder.
或者,如果您使用 SVN,请删除 wp-includes 文件夹和 wp-settings.php 文件,然后执行“svn up”
Or if you are using SVN, delete the wp-includes folder and the wp-settings.php file and do and 'svn up'
更改为
Change to