How to Quick Fix Error Another update is currently in progress.

Some times while updating the WordPress core or bulk updating plugins we’ll get a notice:

Another update is currently in progress.

This notice occurs because WordPress lock the update process if the update process triggers multiple times.

The update class uses the method create_lock of the class WP_Upgrader to create a lock. E.g. WP_Upgrader::create_lock( 'LOCK_NAME', 'LOCK_TIME' );

Now there are two locks:

  • core_updater
  • auto_updater

Lock core_updater

Lock to prevent multiple Core Updates occurring. Its release time is

15 * MINUTE_IN_SECONDS

It means that it takes 15 * 60 (seconds) = 900 seconds. Its 15 minutes.

To release lock you need to use the function WP_Upgrader::release_lock( 'core_updater' );

OR, Simply delete the below option to release the lock.

delete_option( 'core_updater.lock' )


Lock auto_updater

Its release time is HOUR_IN_SECONDS (1 Hour). Its default release time.

To release lock you need to use the function WP_Upgrader::release_lock( 'auto_updater' );

OR, Simply delete the below option to release the lock.

delete_option( 'auto_updater.lock' )

Author: Mahesh Waghmare

I'm a professional WordPress theme/plugin developer since 2012 from Pune, India.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.