Support » Installing WordPress » Fatal error undefined function is_network_admin()

  • Dab12

    (@dab12)


    When I try to enter in admin I`ve got this pb since I tried to update to WP 3.1:
    Fatal error: Call to undefined function is_network_admin() in /home/putinaem/public_html/wp-admin/admin-header.php on line 16.

    How could I fix it please?

    Im not sure if I use 3.01 or 3. Now I cant see.

    Thank you.
    db

Viewing 15 replies - 1 through 15 (of 16 total)
  • adiant

    (@adiant)

    Thread Starter Dab12

    (@dab12)

    Ok. thanks
    I try to update manually, but I cant deactivate my plugins as I cant enter in Admin. It`s ok to follow the next steps without this operation?

    adiant

    (@adiant)

    Yes, you can skip disabling plug-ins. But keep it in mind, just in case things still don’t work.

    I’m not sure if there is a (easy) way to disable plug-ins without having access to the Admin panels. We can explore that later, if you run into trouble.

    bsaitz

    (@bsaitz)

    i’ve done a manual upgrade (like 4x now) and i cant get rid of that error. i uploaded all the root files, deleted admin & includes and re-uploaded them, but not sure what else to do.

    any other ideas?

    adiant

    (@adiant)

    I realize you just may not have mentioned it, but reading
    http://codex.wordpress.org/Updating_WordPress#Manual_Update
    I don’t see you mentioning this step:

    Upload the individual files from the new wp-content folder to your existing wp-content folder, overwriting existing files. Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory (except for the one being overwritten by new files).

    Be careful when you come to copying the wp-content directory. You should make sure that you only copy the files from inside this directory, rather than replacing your entire wp-content directory. This is where your themes and plugins live, so you will want to keep them. If you have customized the default or classic themes without renaming them, make sure not to overwrite those files, otherwise you will lose your changes. (Though you might want to compare them for new features or fixes..)

    Lastly you should take a look at the wp-config-sample.php file, to see if any new settings have been introduced that you might want to add to your own wp-config.php.

    adiant

    (@adiant)

    Ah, I found the documentation I was looking for on deactivating plugins WITHOUT accessing the Admin panels:
    http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F

    bsaitz

    (@bsaitz)

    thanks.. i checked and had done wp-content, but did it again anyway. i also dont have a wp-content widgets or cache dir, so that was easy.

    i also just checked the config vs sample, and they look pretty similar.

    appreciate the help anyway – any other ideas?

    bsaitz

    (@bsaitz)

    i am also seeing this in my error log.. hmmm

    [26-Feb-2011 11:05:25] PHP Fatal error: require() [function.require]: Failed opening required ‘/home/BLOG/public_html/wp-includes/load.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/BLOG/public_html/wp-settings.php on line 19

    adiant

    (@adiant)

    Have you re-downloaded WordPress, just in case the original download was corrupt?

    As for the error, check in /wp-includes/ on your web site and see if there is a load.php file. There should be. Again, corrupt download sounds likely.

    bsaitz

    (@bsaitz)

    thanks @adiant.. but i have 2 blogs and used the same d/l’ed files to upgrade the other one (manually), and that one was fine. so now i’m really perplexed.

    adiant

    (@adiant)

    Take a look at the actual download you have on your hard drive. Does /wp-include/ have load.php in it?

    bsaitz

    (@bsaitz)

    i got it.. i think a few files were missing. all good! thx!

    kings-road

    (@kings-road)

    Having similar problems and can’t understand it – any ideas?

    Updated to 3.1 and getting this:

    Fatal error: Call to undefined function is_network_admin() in /home/BLOG/wordpress/wp-admin/admin-header.php on line 16 Notice: class-snoopy.php is deprecated since version 3.0! Use wp-includes/http.php instead. in /home/BLOG/wordpress/wp-includes/functions.php on line 3276

    For those are still getting stuck on this error I just writed a post on how to fix it.

    http://euvidente.blogspot.com/2011/03/fatal-error-undefined-function.html

    Struggled with this for a while now! tried editing the functions themselves etc. The solution thoght was simply to upload a fresh copy of the WP core!!!

    I love the robustness of the best CMS around!! Go WP

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Fatal error undefined function is_network_admin()’ is closed to new replies.