Solved

Wordpress Call to undefined function is_network_admin() in wp-admin/admin-header.php

Posted on 2011-03-09
5
1,874 Views
Last Modified: 2012-05-11
I tried to upgrade to Wordpress 3.1. It crashed and rendered the program useless.

I had a site backup from the previous day. I renamed the old wordpress folder to wordpress_OLD and recopied the previous day's wordpress directory to my server. The main site works fine, and I can post articles, after changing a few file permissions.

But when I try to access the admin panel, I get "Fatal error: Call to undefined function is_network_admin() in /home/mysite/public_html/wordpress/wp-admin/admin-header.php on line 16

Any idea how to fix this?
0
Comment
Question by:birwin
5 Comments
 
LVL 16

Accepted Solution

by:
JF0 earned 167 total points
Comment Utility
Did you also have a backup of the database before you tried the upgrade?  If so, you need to use that backup as well as the site backup.
0
 
LVL 6

Author Comment

by:birwin
Comment Utility
I restored the database, and get the same error.
0
 
LVL 23

Assisted Solution

by:jeremyjared74
jeremyjared74 earned 167 total points
Comment Utility
Have you tried removing all themes/plug-ins except Twenty-Ten?

Start there and let me know how it turns out.

You may also want to try downloading Wordpress and installing it manually. You can drag and drop the entire contents within the Wordpress folder and replace the existing files. WP doesn't come with a wp-config.php file (it has wp-config-sample.php), so nothing will be overwritten. If there was any packet loss during the download it could work, but have be "buggy". I have had that happen before.
0
 
LVL 31

Assisted Solution

by:gwkg
gwkg earned 166 total points
Comment Utility
Try renaming the plugins folder.  If it works after that then it's a plugin issue.  Add them back one by one until you find the culprit.
0
 
LVL 6

Author Closing Comment

by:birwin
Comment Utility
Thanks for your help. I gave up and hired a freelancer with Wordpress experience, and he fixed it.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now