[wp-trac] [WordPress Trac] #48073: class-wp-xmlrpc-server.php on line 734 count(): Parameter must be an array or an object that implements Countable

WordPress Trac noreply at wordpress.org
Thu Sep 19 16:11:49 UTC 2019


#48073: class-wp-xmlrpc-server.php on line 734 count(): Parameter must be an array
or an object that implements Countable
--------------------------+-----------------------------
 Reporter:  mahnunchik    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.2.3
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 I've faced with the warning:

 PHP Warning: count(): Parameter must be an array or an object that
 implements Countable in /wp-includes/class-wp-xmlrpc-server.php on line
 734

 Line 734
 {{{#!php
 if ( count( $args ) < $count ) {
 }}}

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


More information about the wp-trac mailing list