• Resolved daubeny

    (@daubeny)


    Something went wrong during updating to the latest version of WordPress. When I tried logging in to wp-admin I got a message saying “There has been a critical error on this website” I clicked on the link to debugging in WordPress and set the wp-debug module in wp-config.php to true (i.e. on) and now I get the following message:-

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘WP_Block_Supports’ not found in /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/class-wp-hook.php on line 287

    Fatal error: Uncaught Error: Class ‘WP_Application_Passwords’ not found in /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/user.php:316 Stack trace: #0 /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/class-wp-hook.php(287): wp_authenticate_application_password(Object(WP_Error), ”, ”) #1 /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/plugin.php(212): WP_Hook->apply_filters(Object(WP_Error), Array) #2 /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/pluggable.php(549): apply_filters(‘authenticate’, NULL, ”, ”) #3 /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/user.php(95): wp_authenticate(”, ”) #4 /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-login.php(1248): wp_signon(Array, false) #5 {main} thrown in /home/vol5_4/unaux.com/unaux_27249458/htdocs/wp-includes/user.php on line 316

    Any ideas on how to fix this would be gratefully received.

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

    (@t-p)

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter daubeny

    (@daubeny)

    Thank you for your reply. I have done both things and still get the same message as originally reported.

    Moderator t-p

    (@t-p)

    Please review this 5.6 Master List for additional troubleshooting tips.

    I had the same problem. Basically the update failed mid way. It’s not hard to fix. You just need to complete the update manually. Here are instructions.

    In my case, I suspect the problem was that I deleted the xmlrpc.php file. This caused a fatal error for some reason. (I restored it and will figure out another way to disable this functionality – I deleted it because trolls were using it to slow down my web site.)

    The basic idea here is to download the 5.6 tar file and unzip/untar it and then compare directories to see what’s missing. I used unix diff to show the difference between directories and individual files within them. Then I copied files individually as necessary (there were about 5 in my case). (Unix cp by default preserves file/group permissions of the target.)

    • This reply was modified 4 years, 3 months ago by wpam.
    Thread Starter daubeny

    (@daubeny)

    Thank you wpam. I have followed your instructions and my site is now sort of working. It will need a bit of work to get it looking correct again but at least I am back in action.

    Moderator t-p

    (@t-p)

    Glad to know it ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal Error’ is closed to new replies.