Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#48168 closed defect (bug) (duplicate)

/wp-includes/post-template.php

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

Description

Hello,

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.

​https://github.com/WordPress/WordPress/pull/430/commits/33ae7f009b3a5176f941e116d6691a447362b471

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

  • Component General → Posts, Post Types
  • Milestone Awaiting Review
  • Resolution → duplicate
  • Status new → 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.