If you update your WordPress without deactivating all your WordPress plugins, you may feel to be in deep water, coming across a fatal redirect loop;

“Database update required” > “No update required, your WordPress database is already up to date” > again> and again >>>

database-update-requiredno-update-required

Every time, you update the database of your WordPress, you will get back to the message of “no update required” and again you will be asked to update the database. This may scare you to death thinking that your WordPress database has been damaged. But in fact, you need not to worry at all as it is a tiny issue caused by your caching plugin, most probably by W3 Total Cache. If you have database and object cache enabled you will be more likely to face this issue. W3 Total cache cached the database queries and thus puts the damper on updating the database.



 

If you deactivated the plugin before updating WordPress, all caches would have been deleted and this issue would not have been arisen. Anyway, yet, it’s not too late and you can easily fix it. All you need to do is;

renaming a php file named – object-cache.php placed inside /wp-content/ folder

How to complete this task

You can rename object-cache.php in two ways;

via your hosting file manager

  • Login to your hosting control panel and access file manager > Browse your WordPress folder > wp-content > locate object-cache.php and rename it to object-cache.php.bak
  • Now get back to your WordPress and again try updating database > We assure you that you will successfully update your WordPress database and able to access your admin dashboard

via a FTP software

  • If you are familiar to using FTP software like FileZilla, you can do this job via FTP more easily
  • Open FileZilla > Enter FTP login detail and connect > Access to WordPress directory and then finish the job

Once you are done with database update, again login to hosting file manager or FTP and rename object-cache.php.bak back to object-cache.php

Tips to securely update your WordPress

  • Disable all plugins before update
  • Set automatic WordPress update for your WP installation if you have installed it via Hosting script installer like Softaculous. Most of the installers offer automatic WordPress update.
  • Keep database backup before proceeding update – read backup guide
Still unable to fix this issue?. Feel free to consider this post as a support thread and ask questions in comments section below. We will happily assist you replying your questions.