Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#48168 closed defect (bug) (duplicate)


Reported by: chymmi's profile Chymmi Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:



I was dealing with this apache error for some time and I always tried to avoid to edit the core. So I made my first commit on github and I hope it will help.

Apache error:

PHP Warning: count(): Parameter must be an array or an object that implements Countable in /wp-includes/post-template.php on line 310

Change History (2)

#1 @sebastienserre
4 years ago

Hello @Chymmi and welcome on tracks.
Could you please upload you patch here on Trac (make a diff file and upload it) ?

Thanks for your contribution

#2 @SergeyBiryukov
4 years ago

  • Component changed from General to Posts, Post Types
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #47824.

Note: See TracTickets for help on using tickets.