[wp-trac] [WordPress Trac] #48434: count(): Parameter must be an array ... // get_the_content()

WordPress Trac noreply at wordpress.org
Fri Oct 25 16:36:01 UTC 2019


#48434: count(): Parameter must be an array ... // get_the_content()
----------------------------+-----------------------------
 Reporter:  sebastienserre  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:
 Severity:  normal          |   Keywords:  2nd-opinion
  Focuses:                  |
----------------------------+-----------------------------
 Hello,

 I've a Warning `count(): Parameter must be an array or an object that
 implements Countable` on my website on
 https://core.trac.wordpress.org/browser/tags/5.2/src/wp-includes/post-
 template.php#L345

 What I don't understand is `$content` at this moment is an array...

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48434>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list