[wp-trac] [WordPress Trac] #49895: PHP Warning: count(): Parameter must be an array or an object that implements Countable
WordPress Trac
noreply at wordpress.org
Mon Apr 13 17:28:59 UTC 2020
#49895: PHP Warning: count(): Parameter must be an array or an object that
implements Countable
-------------------------------+-----------------------------
Reporter: jbx | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 5.4
Severity: minor | Keywords:
Focuses: |
-------------------------------+-----------------------------
This is a follow-up to #42814.
After upgrading from PHP 5.3 to PHP 7.4.4, on the latest wordpress 5.4 I
am getting this warning often.
PHP Warning: count(): Parameter must be an array or an object that
implements Countable in /var/www/html/wp-includes/post-template.php on
line 317
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49895>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list