[wp-trac] [WordPress Trac] #44199: Can't upgrade to WordPress 4.9.6

WordPress Trac noreply at wordpress.org
Wed May 23 08:01:33 UTC 2018


#44199: Can't upgrade to WordPress 4.9.6
-------------------------------+------------------------------
 Reporter:  Alex Vojacek       |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Upgrade/Install    |     Version:  4.9.6
 Severity:  critical           |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------
Changes (by swissspidy):

 * keywords:   => reporter-feedback


Comment:

 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.php` in 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 clear` on the command line.

 Please try this and let us know if it works.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44199#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list