No Update Required - Your WordPress database is already up to date!

How to Fix: No Update Required: Your WordPress database is already up to date!

Last updated on

I was recently updating WordPress for a client and this message popped up. I could no longer access wp-admin and was locked out permanently! In this article I will go through the steps that solved the issue for me.

Introduction

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 /wp-content folder.

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 your 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 object-cache.php to object-cache.php.bak.

WordPress W3 Total Cache - Rename object-cache.php

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.

W3 Total Cache - Purge All Caches menu

 

4. Check object-cache.php Has Been Recreated

Go back to FTP and refresh the folder /wp-content/.

If object-cache.php has been recreated for you, you can now delete object-cache.php.bak.

If object-cache.php hasn’t been recreated (perhaps due to permissions), simply rename object-cache.php.bak back to object-cache.php.

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.

Let me know in the comments if this helped. Follow me on Twitter, Facebook and YouTube.

p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.

1 Star2 Stars3 Stars4 Stars5 Stars 5.00 (1 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

We use Markdown to style comments, like on Github and Reddit.
To do a line break, type two spaces after the sentence.
You can add inline code by wrapping it in backticks: `code here`

    To do an entire block of code  
    type four spaces before the line
    and it will appear in a block like this.
    <-- four empty spaces