Make WordPress Core

Opened 5 years ago

Closed 5 years 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's profile mahnunchik Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.2.3
Component: XML-RPC Keywords:
Focuses: Cc:

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
5 years ago

  • Component changed from General to XML-RPC

#2 @SergeyBiryukov
5 years 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.