Solved

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

Posted on 2011-03-09
5
1,882 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
ID: 35086712
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
ID: 35087242
I restored the database, and get the same error.
0
 
LVL 23

Assisted Solution

by:jeremyjared74
jeremyjared74 earned 167 total points
ID: 35088497
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
ID: 35089667
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
ID: 35092089
Thanks for your help. I gave up and hired a freelancer with Wordpress experience, and he fixed it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

929 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

11 Experts available now in Live!

Get 1:1 Help Now