WordPress database update failed and trashed my menus and pages
-
Several days ago, when I navigated to the admin panel login URL for for one of my WordPress websites, a screen appeared with the WordPress logo and a message that my WordPress database needed to be updated. There were no other options on that screen besides clicking the “Update” button. Because I was unable to log into my admin panel, I never had the opportunity to do a system backup prior to this.
On clicking the update tab, I received some kind of “processing, please wait” message. When it was done, an extensive list of database
errors displayed, all for the wp_options table.Here are a couple smaller errors with redactions:
WordPress database error: [Table ‘./dbname/wp_options’ is marked as crashed and should be repaired]
SELECT autoload FROM wp_options WHERE option_name = ‘blodotgsping_url’WordPress database error: [Table ‘./dbname/wp_options’ is marked as crashed and should be repaired]
SELECT autoload FROM wp_options WHERE option_name = ‘bodyterminator’At the end of this 566 lines of error messages, I received:
Update CompleteYour WordPress database has been successfully updated!
Trying to navigate to my admin panel after this resulted in the same message to update the database, and the same errors upon updating.
After updating a second time, navigating to my admin panel URL finally worked, but I was unable to login as my password was no longer recognized. I manually updated my admin password through phpMyAdmin in cPanel and was finally able to log into my WordPress admin panel again.
I’ve confirmed with my hosting service that the database looks fine, the crash/repairs to wp_options have been made, and everything appears fine on their end.
However, all the static content webpages and the menus I constructed are not available through the WordPress admin panel.
I can see the web pages (and Events from the EventsManager plugin) when I query the database directly (through phpMyAdmin), but not through my WordPress admin panel, and not on my website.
I’m considering applying the update to 4.4.2, thinking somehow the database update is associated with that WordPress version update, and that somehow the database got updated out of sequence?
Aside from restoring from a full backup and lose the changes made to my site since then, any thoughts on how to resolve this would be appreciated.
Thanks.
- The topic ‘WordPress database update failed and trashed my menus and pages’ is closed to new replies.