Support » Fixing WordPress » Wp_recovery_mode() – PHP Fatal Error

  • Hi,

    I contacted my host provider today as I was unable to access my wp-admin dashboard (getting an HTTP 500 error) today after moving the website to a new webspace and updating to WordPress 5.2.
    This was their reply:

    This is a headscratcher and it looks to be an issue with WordPress overall.

    The error that I am seeing here is:
    [Thu May 9 10:13:31 2019] [error] PHP Fatal error: Uncaught Error: Call to undefined function wp_recovery_mode() in /var/www/vhosts/206/1080606/webspace/httpdocs/corkphysiotherapy.ie/wp-includes/load.php:805

    This “wp_recovery_mode()” is brand new and the method that they have supplied for disabling this doesn’t change anything. I would advise raising this with WordPress directly.

    Can you please give me any help?

    Thank you.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 19 total)
  • Backup your files and database https://codex.wordpress.org/WordPress_Backups
    If the url has changed you have to change the url in the new installation https://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs (Not touch other except Dashboard, wp-config.php or database https://codex.wordpress.org/Changing_The_Site_URL). Please only Dashboard, wp-config.php or database.
    Then, with a plugin, it changes the URL of the post,article etc.. follow the link indicated don’t go ahead if you can’t do backups.

    If you use a cache plugin try disabling it from ftp wp-contens/plugin/yuorplugin/, or database

    Hi, the url has not changed, only the webspace has. I have tried disabling all plugins from wp-contents but no luck. Thanks

    the http 500 error is due to the mentioned function but you have to understand why .. Rather than imagine a wrong wordpress code I imagine that there is some conflict with theme or plugin.
    You have not disabled all plugins, the site is currently served with wp-fastest-cache.

    https://wordpress.org/support/plugin/wp-fastest-cache/ Ask how to clear the cache.

    now I see wp-admin correctly

    Same problem here. Started two hours ago when we attempted a wordpress upgrade. Disabled all plugins and attempted to debug the error message but am failing.

    I just manually downgraded to WP 5.1 and the site loads now. Not sure what the conflict is though.

    @cary42 Sorry can you provide more information? Are you still on some cache? cache plugin, cache your hosting, CDN cache? Sometimes disabling or deleting a plugin is not enough, it may be that it is executed by the database and it is a good idea to check the source of the page to be sure that there is no reference to the plugin name, in this case contact the author of the plugin using the special support channel.

    i have same problem but i took load.php for a old wordpress version and replaced with load.php for last version so my site worked but with no control penal and appear this error
    `
    Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() in /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php:1058 Stack trace: #0 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(286): wp_admin_bar_recovery_mode_menu(Object(WP_Admin_Bar)) #1 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #3 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array) #4 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(286): wp_admin_bar_render(”) #5 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp- in /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php on line 1058

    this my site http://hista.rf.gd after last update showe this error

    undefined function wp_recovery_mode() in /var/www/vhosts/206/1080606/webspace/httpdocs/corkphysiotherapy.ie/wp-includes/load.php:805
    

    but i took load.php for a old wordpress version and replaced with load.php for last version so my site worked but with no control penal and appear this error

    
    Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() in /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php:1058 Stack trace: #0 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(286): wp_admin_bar_recovery_mode_menu(Object(WP_Admin_Bar)) #1 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #3 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array) #4 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(286): wp_admin_bar_render(”) #5 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp- in /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php on line 1058
    • This reply was modified 6 months, 1 week ago by radisaad.

    oh this my site http://hista.rf.gd after last update showe this error

    undefined function wp_recovery_mode() in /var/www/vhosts/206/1080606/webspace/httpdocs/corkphysiotherapy.ie/wp-includes/load.php:805
    

    but i took load.php for a old wordpress version and replaced with load.php for last version so my site worked but with no control penal and appear this error

    
    Fatal error: Uncaught Error: Call to undefined function wp_is_recovery_mode() in /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php:1058 Stack trace: #0 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(286): wp_admin_bar_recovery_mode_menu(Object(WP_Admin_Bar)) #1 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/plugin.php(531): WP_Hook->do_action(Array) #3 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php(86): do_action_ref_array(‘admin_bar_menu’, Array) #4 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(286): wp_admin_bar_render(”) #5 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #7 /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp- in /home/vol12_1/epizy.com/epiz_23629612/htdocs/wp-includes/admin-bar.php on line 1058

    When I upgraded to version 5.2, the script couldn’t find wp-config-sample.php and crashed, yielding the error mentioned by this thread’s opening post.

    The solution was to proceed with a manual upgrade in accordance with this guide:

    Updating WordPress

    The changes that had been made to wp-config-sample.php were just the addition of a few blank-spaces for æstethic reasons.

    the solution is downgrade here how to downgrade
    How To Downgrade WordPress To A Previous Version

    SineMetu

    (@sinemetu)

    Hi,

    I would also suggest to remove via FTP any of your SECURITY plugins, that changes the /wp-admin login to your admin.

    Please HELP!

    I pressed the update WordPress button yesterday on the dashboard panel and have the “white screen of death” screen.

    I’ve recently taken over the site as admin and i’m not sure which version/theme was previously running.

    I have logged into the cPanel and renamed the plugin folder and it’s still broken.
    I have logged into the cPanel and renamed all the theme folders and it’s still broken.

    I changed the wp-config file to capture the ERRORs and got the following:

    Fatal error: Uncaught Error: Call to undefined function wp_recovery_mode() in /home/radioksa/public_html/wp-includes/load.php:812 Stack trace:
    #0 /home/radioksa/public_html/wp-includes/load.php(696): wp_is_recovery_mode()
    #1 /home/radioksa/public_html/wp-settings.php(301): wp_get_active_and_valid_plugins()
    #2 /home/radioksa/public_html/wp-config.php(101): require_once(‘/home/radioksa/…’)
    #3 /home/radioksa/public_html/wp-load.php(37): require_once(‘/home/radioksa/…’)
    #4 /home/radioksa/public_html/wp-blog-header.php(13): require_once(‘/home/radioksa/…’)
    #5 /home/radioksa/public_html/index.php(17): require(‘/home/radioksa/…’)
    #6 {main} thrown in /home/radioksa/public_html/wp-includes/load.php on line 812

    the website it radioksa.com

    Any help would be great – thanks!

    I had the same issue, turns out that wp-settings.php has been updated since a previous version. This has the link to error-protection.php which in turn has the function wp_recovery_mode().

    So just upload the new version of wp-settings.php and you should be fine

    • This reply was modified 5 months, 1 week ago by jonroz.
    • This reply was modified 5 months, 1 week ago by jonroz.
Viewing 15 replies - 1 through 15 (of 19 total)
  • You must be logged in to reply to this topic.