[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
Wed Nov 13 16:31:34 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 ispreview):

 Perhaps I'm doing it wrong but if I apply the line change in @ayeshrajans
 patch it returns two new errors on the admin dashboard:


 {{{
 Warning: array_unshift() expects parameter 1 to be array, null given in
 ../wp-admin/includes/plugin.php on line 1400

 Warning: ksort() expects parameter 1 to be array, null given in ../wp-
 admin/includes/plugin.php on line 1414
 }}}

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


More information about the wp-trac mailing list