Opened 8 years ago
Closed 7 years ago
#44199 closed defect (bug) (invalid)
Can't upgrade to WordPress 4.9.6
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | critical | Version: | 4.9.6 |
| Component: | Upgrade/Install | Keywords: | |
| Focuses: | Cc: |
Description
Everything has been working just fine, updating wordpress has been a regular push a button and be done with it, up until the latest update.
My website refuses to upgrade to WordPress 4.9.6, each time I press the upgrade button, it says it's been upgraded but then it shows it is still 4.9.5
I tried it a thousand times now, even uploaded a fresh copy of wordpress 4.9.6 into the site and overwritten all files and it is still displaying WordPress 4.9.5 and the Upgrade wordpress notice is there.
It is driving me nuts, what is going on here?
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi there and welcome to WordPress Trac!
This sounds like an OPcache issue (see #36455), which means that your server still has the old PHP files in its cache.
A quick workaround to solve this would be creating a file like
opcache.phpin your WordPress root folder with<?php opcache_reset();in it. Then, open that file in the browser (e.g.https://example.com/opcache.php) and delete the file afterwards.Alternatively, you could use a WP-CLI command like https://packagist.org/packages/wearerequired/wp-cli-clear-opcache to do the same. Provided you have WP-CLI and this WordPress plugin installed, you would run
wp opcache clearon the command line.Please try this and let us know if it works.