[wp-trac] [WordPress Trac] #55442: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-includes/post-template.php on line 319

WordPress Trac noreply at wordpress.org
Thu Dec 11 15:10:02 UTC 2025


#55442: count(): Parameter must be an array or an object that implements Countable
in /var/www/html/wp-includes/post-template.php on line 319
-------------------------------+-------------------------
 Reporter:  davidscpl          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:  template
-------------------------------+-------------------------
Changes (by SirLouen):

 * status:  new => closed
 * resolution:   => worksforme
 * milestone:  Awaiting Review =>


Comment:

 Since no one has been able to reproduce this and more than 4 years have
 passed since then, it's time to close this as `worksforme`

 @davidscpl feel free to comment if you can provide additional information
 on how to reproduce this, and I will be happy to reopen and test it
 accordingly.

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


More information about the wp-trac mailing list