Site stuck in “Database Update Required” loop

I just updated to 3.1.3 and now when I go to the admin I get the “Database Update Required” /wp-admin/upgrade.php screen. I click ‘Upgrade Now’ and it says it’s done, but then trying to access anything in the admin gets me the same screen again. How do I get past this?

EDIT: In trying to use toscho’s solution, I discovered that my wordpress db tables are not writable, which likely led to the error loop. Any ideas for how to track that down?

7 s
7

I had the same problem recently. For some reason the option db_upgraded isn’t set by the upgrade process.

Fix

  1. Go to /wp-admin/options.php.
  2. Fill the field db_upgraded with a 0 (zero).
  3. Hit Save Changes.

Done.

Leave a Comment