Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error: Call to undefined function is_multisite()?

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.

like image 647
user75472 Avatar asked Oct 18 '25 13:10

user75472


1 Answers

FTP the file wp-includes/load.php and wp-settings.php and check that;

  1. wp-includes/load.php line 578 is function is_multisite()
  2. wp-settings.php line line 19 is 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.

like image 54
TheDeadMedic Avatar answered Oct 20 '25 11:10

TheDeadMedic



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!