Support » Installing WordPress » wp-admin/index.php error after upgrade to 3.1

  • Resolved shadaliza


    I just upgraded automatically to version 3.1. The website is working but I cannot login to the dashboard. After entering username and password I get the message:

    Fatal error: Call to undefined function is_user_admin() in /home/alemas14/ on line 27

    the code on that line 27 is:

    if ( is_user_admin() )

    Can anybody help me out?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p


    Fatal error in the output generally indicates either your theme doesn’t like 3.1, you have a plugin that doesn’t like 3.1, or you have an incomplete upgrade.

    therefore, try:

    -deactivating ALL plugins temporarily to narrow down and possibly fix the problem. If the problem goes away, activate them individually (one-by-one) to find the culprit.

    If you don’t have access to your admin area, try deactivating them manually via FTP or phpMyAdmin.

    -switching to the default theme (“twentyten”) for a moment by renaming your current theme’s folder in wp-content/themes. The idea is to force WordPress to fall back to the default theme to rule out any theme-specific issue.

    If you don’t have access to your admin area, then access your server via FTP or SFTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems (because the hooks remain unless plugins completely removed).

    -If the above steps do not resolve the issue, download WordPress again and replace your copies of everything EXCEPT the wp-config.php file and the /wp-content/ directory with fresh copies. This should replace your core files without changing your content and settings in wp-config.php file and the /wp-content/ directory.
    Note that some uploaders may not overwrite files reliably, so delete the original files before replacing them.

    help me out i am having error
    Fatal error: Call to undefined function is_user_admin() in /home/content/61/3409861/html/techlaugh/wp-includes/pluggable.php on line 783
    not able see adminstration page

    thanks, I reinstalled manually and that fixed the problem.

    Moderator t-p


    You are welcome. 🙂

    Please mark thread as “resolved” using the dropdown in the right panel so that:
    – others with similar problem can see it as “resolved” and will read this thread for help if they have similar problem.




    while the above suggestions sound spot on, I suspect that by forcing things to default to twenty ten, you may lose your widget settings. So you may want to make an html backup of those by visiting the live site (if that is possible) and copying the code for each widget element, or getting screen shots of the widgetized items on the site, so that you will be able to recreate them. For simple themes with just a few widgets, not a big deal. For complex themes with many complex widgets, it can be a huge deal. 🙂

    Please HELP
    Hi There,

    I was trying to change the background in my market theme by activating the custom background in the Theme functions


    I put in the code:
    //enable custom background

    and now I cannot access anything, all I get is the following error:

    Fatal error: Call to undefined function background() in /nfs/c08/h01/mnt/115818/domains/

    content/themes/mk4/functions.php on line 14

    How can I get back into the theme functions page to take out my error code

    many thanks


Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp-admin/index.php error after upgrade to 3.1’ is closed to new replies.