WordPress bug?
-
Is this a bug in the most recent update or an issue specific to my environment? I have upgraded 10+ sites recently and they all break predictably with the same error.
Secondly, is my fix the best solution or should we be changing the version in the database rather than version.php?
Taken from my post at: https://mzandstra.com/wordpress/how-to-fix-wp-admin-timeout-or-dashboard-not-loading/
5. Check database version
A mismatch in the database version will cause /wp-admin to get stuck in a loop. The most recent WordPress update seems to break this. Check the database version like this:mysql> use your_database_name; mysql> select * from wp_options where option_name='db_version'; +-----------+-------------+--------------+----------+ | option_id | option_name | option_value | autoload | +-----------+-------------+--------------+----------+ | 52 | db_version | 22441 | yes | +-----------+-------------+--------------+----------+ 1 row in set (0.01 sec)
Compare this to the version in /wp-includes/version.php on line 14:
$wp_db_version = 22442;
If there’s a mismatch, change the value in /wp-includes/version.php to match the database value. Normally, you should never edit the contents of /wp-includes or /wp-admin but it seems that database version doesn’t get updated in /wp-includes/version.php like it should during the update.
- The topic ‘WordPress bug?’ is closed to new replies.