If are you seeing “Another update currently in process” error on your WordPress site it means that the update was not finished and the installation process was stopped from updating WordPress. Normally, it should automatically go away after 15 minutes but if it doesn’t, then there is an easy fix for that. In this article, we will show you how to fix ‘Another update currently in process’ error in WordPress.
The error is looking liek this:
SOLUTIONS automatic for fixing Another Update in Process Error
Install the plugin and activate the Fix Another Update In Progress plugin.
Upon activation, you need to visit Settings » Fix Another Update In Progress page. If updates on your website are locked, then you will see a message with a button to fix it:
Now simply click on ‘Fix WordPress Update Lock’ button to continue.
The plugin will the delete the WordPress core update lock option from your database, and you will see a success message like this:
SOLUTIONS in manual for fixing Another Update in Process Error
- Clear and deactivate all the plugins that are activated for caching
- Rename the .htaccess temporary until your update succeed as htaccess simple or something else
or
- Go by file editor from hosting or by ftp on : wp-admin/includes/class-wp-upgrader.php
and search for
$lock_option = $lock_name . '.lock'; like in bellow example (line 771):
754: /**
755: * Creates a lock using WordPress options.
756: *
757: * @since 4.5.0
758: * @access public
759: * @static
760: *
761: * @param string $lock_name The name of this unique lock.
762: * @param int $release_timeout Optional. The duration in seconds to respect an existing lock.
763: * Default: 1 hour.
764: * @return bool False if a lock couldn't be created or if the lock is no longer valid. True otherwise.
765: */766: public static function create_lock( $lock_name, $release_timeout = null ) {
767: global $wpdb;
768: if ( ! $release_timeout ) {
769: $release_timeout = HOUR_IN_SECONDS;
770: }
771: $lock_option = $lock_name . '.lock';
772:
773: //Try to lock.
774: $lock_result = $wpdb->query( $wpdb->prepare( "INSERT IGNORE INTO `$wpdb->options` ( `option_name`, `option_value`, `autoload` ) VALUES (%s, %s, 'no') /* LOCK */", $lock_option, time() ) );
775: Now just try to upgrade again by automatic update and if the result is like bellow:
CONGRATZ, You have the last updated version and everything seems to be ok.
REMEMBER: Don’t forget to reactivate the cache plugins after update and also to rename the .htaccess in the main site folder in order to not lose the metalinks or create another problems.
Leave a Comment