Another – Call to undefined function wp_recovery_mode()
-
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:812Stack 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!!
- The topic ‘Another – Call to undefined function wp_recovery_mode()’ is closed to new replies.