[wp-trac] [WordPress Trac] #42860: PHP 7.2 warning - Parameter must be an array or an object that implements Countable in /wp-includes/class-wp-query.php on line 3035

WordPress Trac noreply at wordpress.org
Fri Jul 6 05:09:23 UTC 2018


#42860: PHP 7.2 warning - Parameter must be an array or an object that implements
Countable in /wp-includes/class-wp-query.php on line 3035
--------------------------+---------------------
 Reporter:  lisota        |       Owner:  jorbin
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9.3
Component:  Query         |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  fixed-major   |     Focuses:
--------------------------+---------------------

Comment (by jonasrafael):

 I have the same problem.

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

 Nginx
 PHP Version 7.2.7-1+ubuntu16.04.1+deb.sury.org+1

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


More information about the wp-trac mailing list