[wp-trac] [WordPress Trac] #44121: Return of the Page Template Bug?
WordPress Trac
noreply at wordpress.org
Thu May 24 06:10:40 UTC 2018
#44121: Return of the Page Template Bug?
--------------------------+------------------------------
Reporter: lkhlc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.9.5
Severity: critical | Resolution:
Keywords: | Focuses: template
--------------------------+------------------------------
Comment (by swissspidy):
With all the details you have given us, this doesn't sound like a
WordPress issue at all.
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, restart php-fpm on your server or 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.
If neither of that works. contact your hosting provider for help.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44121#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list