[wp-trac] [WordPress Trac] #42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284

WordPress Trac noreply at wordpress.org
Mon Dec 17 17:42:09 UTC 2018


#42814: PHP 7.2 Warning: ...wp-includes/post-template.php on line 284
-------------------------------------------------+-------------------------
 Reporter:  internetwerk                         |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.0.3
Component:  Posts, Post Types                    |     Version:  4.5
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch 2nd-opinion   |     Focuses:
  needs-testing php73                            |
-------------------------------------------------+-------------------------

Comment (by sniper29a):

 I get this error whenever I publish a new post. It is still in WP5.


 {{{
 Warning: count(): Parameter must be an array or an object that implements
 Countable in .../wp-includes/post-template.php on line 284

 Warning: Cannot modify header information - headers already sent by
 (output started at .../wp-includes/post-template.php:284) in .../wp-
 admin/post.php on line 209
 }}}

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


More information about the wp-trac mailing list