This issue appears to be related to caching, in my case the W3 Total Cache plugin and the file
object-cache.php located in the
If you update WordPress without disabling W3 Total Cache first, in some situations you may get locked out of
/wp-admin and see “No Update Required: Your WordPress database is already up to date!” in an unending loop.
Luckily there is a quick fix for this that worked for me.
If you are not using W3TC, try disabling whatever WordPress caching plugin you’re using or purge your server cache (Memcached, Redis). If you’re on shared hosting, you may need to contact your host for assistance.
1. Rename object-cache.php
You will need FTP access to your web server document root.
Go to the folder
/wp-content/ and rename the file
2. Log in to WordPress Again
Go to the WordPress login page (yourdomain.com/wp-admin) and you should now be able to log in to WordPress.
If you can’t log in and are still seeing the same message “No Update Required: Your WordPress database is already up to date!” , this may not be related to W3 Total Cache. Please see comments below.
If you see the message below, just click THIS EMAIL IS CORRECT.
I’m not sure why this above message comes up, it must be detecting a security issue.
3. Purge All Caches
In the W3 Total Cache Performance menu in the WordPress admin navigation bar, click Purge All Caches.
4. Check object-cache.php Has Been Recreated
Go back to FTP and refresh the folder
object-cache.php has been recreated for you, you can now delete
object-cache.php hasn’t been recreated (perhaps due to permissions), simply rename
object-cache.php.bak back to
5. Purge All Caches Again
Just to be sure, go back to WordPress and Purge All Caches as above.
You should now be good to go. If not, let me know in the comments below.
How to Prevent This in Future?
Whenever you update plugins or run a WordPress upgrade, you should disable the W3 Total Cache plugin temporarily (or whatever caching system you have in place). Once you’ve finished updating, re-enable W3 Total Cache and Purge All Caches again.
p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.