[wp-trac] [WordPress Trac] #48599: Warning: count(): Parameter must be an array or an object that implements Countable in ../wp-admin/includes/plugin.php on line 1392

WordPress Trac noreply at wordpress.org
Thu Nov 14 22:01:39 UTC 2019


#48599: Warning: count(): Parameter must be an array or an object that implements
Countable in ../wp-admin/includes/plugin.php on line 1392
----------------------------+---------------------
 Reporter:  ispreview       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  5.3.1
Component:  Administration  |     Version:  5.3
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:  ui
----------------------------+---------------------

Comment (by NextScripts):

 PHP Version: 7.3.11;
 I just tried on fresh new install of WP 5.3 without any plugins with
 default "Twenty Twenty" theme.

 Replying to [comment:10 adamsilverstein]:
 > hmmm, @NextScripts appologies, we cross posted. Your sample code should
 work, can you give any more information about your install, what version
 of PHP are you running? I would expect our unit tests to fail if this
 wasn't working as expected.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48599#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list