“Database Update Required”: version mismatch
-
This past weekend (Saturday afternoon) we attempted to update our WordPress installation from 4.1.19 to the latest 4.8.2 and this produced a fatal error message on both the front and back end of our site. We also lost access to our backups so we ended up having to ask our hosting provider to revert our site to an earlier state. They informed us that they reverted it to a state from Saturday morning and the site came back up… sort of.
The front end of the site is functioning normally, but on the back end we encountered the “Database Update Required” screen. What I’ve read here (and elsewhere on the web) suggested that there may be a version mismatch with version.php / wp_db_version and wp_options / db_version. This turned out to be case, but not in the way I expected.
In all the other cases I’ve read about, the version in version.php is *higher* than the version in the database value db_version. And that adjusting the value in version.php to match the database value fixes the situation. However, we have the opposite situation — the version in version.php is *lower* than the version in the database. Specifically:
[version.php]
$wp_db_version = 30135;[wp_options]
db_version = 38590And, indeed, 30135 is associated with 4.1.19 and 38590 is associated with 4.8.2 and these are the versions involved in our failed upgrade.
So my question is this: is the solution to decrease the value of wp_options / db_verison so that it matches the version in version.php / wp_db_version? Or should the version in version.php be increased to match? Or are both solutions incorrect and this type of mismatch is indicative of a completely different problem?
I’m very new to WordPress, so apologies if I’m missing something obvious. The people who set up our site are long gone and I’ve inherited its maintenance since I’m the only person available in our organization that has an IT background. Though I basically know just enough to know that one wrong step could trash our site all over again.
Any help would be *greatly* appreciated!
The page I need help with: [log in to see the link]
The topic ‘“Database Update Required”: version mismatch’ is closed to new replies.