WordPress.org

Make WordPress Core

Opened 4 weeks ago

Closed 4 weeks ago

#48073 closed defect (bug) (duplicate)

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

Reported by: mahnunchik Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2.3
Component: XML-RPC Keywords:
Focuses: Cc:
PR Number:

Description

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

if ( count( $args ) < $count ) {

Change History (2)

#1 @dkarfa
4 weeks ago

  • Component changed from General to XML-RPC

#2 @SergeyBiryukov
4 weeks ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @mahnunchik, welcome to WordPress Trac!

Thanks for the report, this is already fixed for WordPress 5.3 in #48046.

Note: See TracTickets for help on using tickets.