I know that a similar question has been asked before, but this is NOT a duplicate because this is specific to WordPress 5+ and the answers to the similar question have all been tried to no avail.
Issue:
My WordPress is Version 5.01 and there are some technical issues PHP error logs indicate the core WordPress needs to be reinstalled (bad syntax errors on core SQL queries with empty $vars
) .
However; when presented with Re-installing WordPress on the admin area; it states that:
Another update is currently in progress
I have run through all of the answers in this question and they are invalid or not applicable (they have all been attempted to confirm this):
- The
.maintenance
file has been manually disabled. - The
<...>_options
table directory does NOT contain the wordpress update.lock
tag. Despite this being confirmed as appearing in the PHP code. - All plugins have been disabled.
- The lock does not time out and resolve after 15 minutes.
Yet I am still unable to find either the cause of the notification or the notfication itself in the PHP code, to manually override it (reference here again) .
Request:
How do I over-ride the “Another update is currently in progress” in WordPress 5. This request is specific to WP5 as it appears the system may have changed since before 5.0,
Update
I am not looking [just] for how to work-around the problem; more an explanation as to how the text “Another update is currently in progress” is generated on WordPress 5
Thank you for any guidance on this.
4 Answers
you can try doing a manual update, so as long as you didn’t make any changes to the WordPress core files(if you did I suggest you take note of them and reapply after the upgrade), just head over to WordPress.org download the latest WordPress package and copy it over to your root folder on the server make sure you overwrite only the core WordPress files, leave the wp-content folder out of this, input your details to the wp-config.php file and that should probably sort this issue out for you.
PS. remember to back up your database and original WordPress folders before continuing.