• Resolved tresbec

    (@tresbec)


    I received an email from my WordPress site (that I self-host) that an automatic update had failed and that my site may be offline. What triggered the email was a permissions issue during the update. I’ve since manually updated, including trying from a fresh download, and I keep getting a fatal error: “PHP Fatal error: Uncaught Error: Class ‘WP_Application_Passwords’ not found”

    I’ve downloaded the latest 5.5.6. from the www.remarpro.com site and only copied over my original wp-config.php and .htaccess files. The problem still persists. I’ve double checked permissions. How do I fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Dion Hulse

    (@dd32)

    Meta Developer

    Hi @tresbec,

    The WP_Application_Passwords file is a new file in WordPress 5.6, it sounds like either it wasn’t copied over when you did the fresh install, or you’ve got a plugin installed that’s not compatible with WordPress 5.6. I’d suggest it’s probably an incompatible plugin.

    I know you’ve said you only kept wp-config.php and .htaccess, but it’s not uncommon (almost required!) for people to keep their entire wp-content folder as well, and as you’ve kept the database intact, the same plugins will still be active.

    To deactivate all plugins, you can try renaming the plugins folder to something else, and if that allows you to access wp-admin, then head over to the plugins page which will automatically deactivate all plugins, rename the wp-content/plugins folder back, and then reactivate the plugins one-by-one to find the incompatible plugin.
    The plugins you had activated previously should appear in the ‘Recently Active’ list.

    I hope this helps!

    Thread Starter tresbec

    (@tresbec)

    I tried the steps you suggested to no avail. I’ve even tried completely emptying wp-content. If I go directly to https://mysite/wp-admin I get prompted to update my database but if I click the button to do so it triggers the same error — Uncaught Error: Class ‘WP_Application_Passwords’ not found

    I’ve confirmed that the class is there (wp-includes/class-wp-application-passwords.php).

    Thread Starter tresbec

    (@tresbec)

    I completely wiped the install and tried again and now it’s working. Figuring out the underlying issue is job for tomorrow. @dd32 thanks for the help.

    • This reply was modified 4 years, 3 months ago by tresbec. Reason: Meant to mark as resolved

    Hi, I’m having the exact same issue, wiping out everything is not an option, any clues ?

    I found a solution that involved updating the WordPress database but I was browsing incognito and can’t find the page I visited. DOes that ring any bells?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Failed Update from 5.5.3 to 5.5.6’ is closed to new replies.