• Resolved Brayne

    (@brayne)


    Currently experiencing the white screen of death. Trying to update from 4.9.10.

    I have deleted all core files using shell access to my account.
    (including wp-admin, wp-includes folders)
    I have uploaded all new (latest – 5.2.1) wp core files and folders.
    I have renamed (temp) folder bak.plugins
    I have renamed (temp) theme bak.mytheme
    I have backed my dbase.
    I have saved my wp-config.php file.

    My htaccess file is as it should be.

    All cache is purged.

    debug mode is on and so is the debug log.

    Here is the error read out…

    #########################

    Fatal error: Uncaught Error: Call to undefined function wp_recovery_mode() in
    /home/##/wp-includes/load.php:812

    Stack trace:
    #0 /home/##/wp-includes/load.php(696): wp_is_recovery_mode()
    #1 /home/##/wp-settings.php(303): wp_get_active_and_valid_plugins()
    #2 /home/##/wp-config.php(104): require_once(‘/home/##/…’)
    #3 /home/##/wp-load.php(37): require_once(‘/home/##/…’)
    #4 /home/##/wp-admin/admin.php(34): require_once(‘/home/##/…’)
    #5 /home/##/wp-admin/index.php(10): require_once(‘/home/##/…’)
    #6 {main} thrown in /home/##/wp-includes/load.php on line 812

    #########################

    So I went to comment out the line on 812 to see what would happen….

    //return wp_recovery_mode()->is_active();

    I refresh in the Admin page, I get the message to update the database and I click it to update, and I get a white page response.(It is showing the WP Logo and nothing else). At this point my server logs are NOT showing any php error.

    I’m guessing there is something in the dbase that is sending a red flag?

    The auto-update started and then went blank in the middle of the update. That’s when I did everything manually. And I’m still in trouble.

    Any thoughts on where I should try to look to fix it?

    Thank you for your time!!

    • This topic was modified 5 years, 6 months ago by Brayne. Reason: Included my current WP version
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Brayne

    (@brayne)

    I had to revert to version 4.9.10 to keep my site active but would love to update ASAP.

    Try following bellow steps:

    1. First take the website files backup before making any changes.
    2. Download the wordpress zip file from https://www.ads-software.com/download/
    3. Upload the zip file to domain directory. If it is a primary domain then it would be public_html or www
    4. Extract the zip file which you have uploaded
    5. It will unzip the files in a folder called wordpress.
    6. Go to wordpress folder and delete the folder wp-contents (you are deleting the folder which you have uploaded not of your website)
    7. Move all the files from wordpress folder to website directory.
    8. Try accessing the admin page and confirm the WP version

    Hope these steps will help you in resolving the issue. In case if you still get a WSOD then pass me the error log so that I can have a deeper look. Or you can try enabling the debug mode.

    To know more about debug mode you can refer : https://www.ads-software.com/support/article/debugging-in-wordpress/

    Thread Starter Brayne

    (@brayne)

    Thanks. I have done all of it through shell access and forced the overwrite of the old files to no avail. I’m getting the same error messages as above and WSOD.

    Within my public_html directory.

    wget https://www.ads-software.com/latest.zip
    unzip latest.zip
    cp -fprv ./wordpress/* ./

    Very weird. I’m wondering if I have to make the upgrade in steps?

    4.9 -> 5.0 -> 5.1 -> 5.2?

    Side note: It’s good to know my back up efforts are working. whew! Hehehe.

    Thread Starter Brayne

    (@brayne)

    For anyone having this issue, I place my config and settings file in 1 directory up from the root. My settings file wasn’t being updated with the newer DEFINES. Complete user error.

    This case is closed.

    Running into the same problem here with the following error:

    Fatal error: Call to undefined function wp_recovery_mode() in public_html/wp-includes/load.php on line 812

    @brayne – when you say you moved the wp-config.php and settings.php files up a directory from the root, did you place them outside of what would be my public_html?

    Thanks!

    After updating my website with wordpress. Mysite is getting 500 internal server error
    Reason for disabling:

    “Fatal error: Uncaught Error: Call to undefined function wp_recovery_mode() in /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-includes/load.php:812 Stack trace: #0 /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-includes/load.php(696): wp_is_recovery_mode() #1 /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-settings.php(340): wp_get_active_and_valid_plugins() #2 /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-config.php(76): require_once(‘/home/vol2_8/ep…’) #3 /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-load.php(37): require_once(‘/home/vol2_8/ep…’) #4 /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-blog-header.php(13): require_once(‘/home/vol2_8/ep…’) #5 /home/vol2_8/epizy.com/epiz_22654207/htdocs/index.php(17): require(‘/home/vol2_8/ep…’) #6 {main} thrown in /home/vol2_8/epizy.com/epiz_22654207/htdocs/wp-includes/load.php on line 812”

    Can anyone will help out with this ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Another – Call to undefined function wp_recovery_mode()’ is closed to new replies.