Solved

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

Posted on 2011-03-09
5
1,905 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will shed light on the latest trends when it comes to your resume building needs. For far too long, the traditional CV format has monopolized the recruitment market.
This article discusses four methods for overlaying images in a container on a web page
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn how to count occurrences of each item in an array.

738 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