WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error after upgrading to WP 3.5.1 - can't login to wp-admin (10 posts)

  1. lilyhoop
    Member
    Posted 1 year ago #

    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?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    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

  3. lilyhoop
    Member
    Posted 1 year ago #

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

  4. lilyhoop
    Member
    Posted 1 year ago #

    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.

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    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.

  6. lilyhoop
    Member
    Posted 1 year ago #

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

  7. lilyhoop
    Member
    Posted 1 year ago #

    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.

  8. esmi
    Forum Moderator
    Posted 1 year ago #

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

  9. lilyhoop
    Member
    Posted 1 year ago #

    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

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    You access phpMyAdmin via your hosting account management panel.

Topic Closed

This topic has been closed to new replies.

About this Topic