• I just upgraded all my plugins and upgraded to the latest version of WordPress. The website is up and running, but when I go to log in to the wp-admin I get a fatal error:

    Fatal error: Call to undefined function set_url_scheme() in D:\Hosting\7326684\html\wp-admin\includes\plugin.php on line 909

    I have tried going in to the files and disabling all the plugins, thinking there is some kind of weird incompatibility. When I do that, I get this fatal error when I try to log in:

    Fatal error: Call to undefined function is_blog_admin() in D:\Hosting\7326684\html\wp-admin\includes\dashboard.php on line 39

    I also tried disabling all the themes, but then I couldn’t even get to the wp-admin to try logging in at all.

    What can I do to fix it?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try:
    – switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    – re-uploading all files & folders – except the wp-content folder – from a fresh download of WordPress. Make sure that you delete the old copies of files & folder before uploading the new ones.

    – running the upgrade manually via wp-admin/upgrade.php

    Thread Starter lilyhoop

    (@lilyhoop)

    Thank you, I will try those things and check back!

    Thread Starter lilyhoop

    (@lilyhoop)

    Darn. I’ve tried all but suggestion #3.

    The first one, renaming the theme, just gave me absolutely nothing on the website, and the same error about line 909 on plugin.php. I renamed it back so at least the site is up, though I can’t get in to the back-end.

    The second one just gave me the second fatal error I mentioned about line 39 in dashboard.php.

    I can’t get to the fourth suggestion – I just get the same error about line 909.

    So I am making a backup of what is there and will try to install fresh, re-uploading the wp-content folder on the fresh install. I’ll check back. Thank you.

    renaming the theme, just gave me absolutely nothing on the website

    What theme were you using? You’re actually supposed to do all of the steps – one after another – and you don’t need to login to your site to upgrade it.

    Thread Starter lilyhoop

    (@lilyhoop)

    Ah, let me try again. The theme is modularity-lite.

    Thread Starter lilyhoop

    (@lilyhoop)

    OK, I’ve renamed the theme.

    Resetting the plugins folder the FTP way doesn’t work because I can’t complete step 3, logging in to wp-admin?

    Working on the third thing you mentioned. Thank you.

    Please re-read my post above. None of the suggestions I made require you to login to your WordPress dashboard.

    Thread Starter lilyhoop

    (@lilyhoop)

    Perhaps I misunderstood? Here’s what I’m referencing:

    How to deactivate all plugins when not able to access the administrative menus?

    Sometimes it may be necessary to deactivate all plugins, but you can’t access the administrative menus to do so. One of two methods are available to deactivate all plugins.

    Use phpMyAdmin to deactivate all plugins.

    In the table wp_options, under the option_name column (field) find the active_plugins row
    Change the option_value field to: a:0:{}

    Or reset your plugins folder via FTP or the file manager provided in your host’s control panel.

    1. Via FTP or your host’s file manager, navigate to the wp-contents folder (directory)
    2. Via FTP or your host’s file manager, rename the folder “plugins” to “plugins.hold”
    3. Login to your WordPress administration menus (/wp-admin)
    4. Via FTP or your host’s file manager, rename “plugins.hold” back to “plugins

    You access phpMyAdmin via your hosting account management panel.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Fatal error after upgrading to WP 3.5.1 – can't login to wp-admin’ is closed to new replies.