[wp-trac] [WordPress Trac] #42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284
WordPress Trac
noreply at wordpress.org
Fri Dec 15 21:03:20 UTC 2017
#42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284
---------------------------------------------+-----------------------------
Reporter: internetwerk | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting
Component: General | Review
Severity: normal | Version: 4.9.1
Keywords: needs-testing reporter-feedback | Resolution:
| Focuses:
---------------------------------------------+-----------------------------
Comment (by azrobbo):
I can confirm this problem with a theme by StudioPress called Executive
Pro which uses Genesis (also by StudioPress) as a parent theme.
I have a containerized implementation of several WP sites & I just ran
into this problem - but only on one site.
Additional info:
- Initially I logged into wp-admin and upgraded WP and all sites worked
fine.
- Later I pulled the latest WP image and relaunched all the sites with it.
At this point the error started appearing on ONE site (but not the others)
- Note: the "/var/www/html" directory is mapped to persistent storage for
each site
- the site experiencing the error is using a 3 year old theme by
StudioPress called Executive Pro, and it uses Genesis as a parent theme.
Attempts to fix that site:
- i restored the DB & user HTML from backup and it did not fix the issue
- as a temporary fix (i hadn't seen this yet), I commented out lines
284-285 as they don't appear to apply to a one page site.
'''There definitely is a problem with some themes which causes a fairly
severe issue''' - especially for an incremental release.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42814#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list