[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 23:02:17 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:  adamsilverstein
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  5.3.1
Component:  Administration            |     Version:  5.3
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:  ui
--------------------------------------+------------------------------
Changes (by garrett-eclipse):

 * Attachment "48599.1.diff" added.

 Patch to test the theory it's the parent and menu slugs being identical
 causing `$submenu[ $parent_slug ]` to be undefined

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


More information about the wp-trac mailing list