WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] wp-admin/index.php error after upgrade to 3.1 (7 posts)

  1. shadaliza
    Member
    Posted 3 years ago #

    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/allstephenmoyer.com/wp-admin/index.php on line 27

    the code on that line 27 is:

    if ( is_user_admin() )

    Can anybody help me out?
    thanks

  2. Tara
    Member
    Posted 3 years ago #

    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.

  3. anupamtamrakar
    Member
    Posted 3 years ago #

    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
    Techlaugh.com
    not able see adminstration page

  4. shadaliza
    Member
    Posted 3 years ago #

    thanks, I reinstalled manually and that fixed the problem.

  5. Tara
    Member
    Posted 3 years ago #

    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.

  6. brettbum
    Member
    Posted 2 years ago #

    Question/issue

    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. :)

  7. antonsphuket@yahoo.com
    Member
    Posted 2 years ago #

    Please HELP
    Hi There,

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

    template.

    I put in the code:
    //enable custom background
    add.custom.backround();

    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/phonebling.com.au/html/wp-

    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

    Anton

Topic Closed

This topic has been closed to new replies.

About this Topic