How to fix WordPress “Database update required” loop

After updating your WordPress core to a new version, a message may appear when you try to log in the wp-admin - "Database update required". The message prompts you to update the WordPress database, but when you click "Update WordPress database" it returns "No update required, your WordPress database is already up to date". Then if you try to log in your wp-admin again, the same "Database update required" message appears and you cannot continue to your admin panel.

To resolve the problem, find the file named object-cache.php located in the wp-content folder of your WordPress installation, and rename or delete it. This will allow you to access the wp-admin properly again.

Deleting or renaming the file will disable the Memcached caching functionality of any caching plugins you are using on your website. If you are using our SG Optimizer plugin you can reenable the use of Memcached on your WordPress by following the steps in this tutorial.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!