[wp-trac] [WordPress Trac] #43714: remove_menu_page(): E_WARNING: Invalid argument supplied for foreach()

WordPress Trac noreply at wordpress.org
Sun Aug 19 13:58:00 UTC 2018


#43714: remove_menu_page(): E_WARNING: Invalid argument supplied for foreach()
----------------------------+----------------------
 Reporter:  conner_bw       |       Owner:  (none)
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:  4.9.5
 Severity:  normal          |  Resolution:  invalid
 Keywords:                  |     Focuses:
----------------------------+----------------------
Changes (by SergeyBiryukov):

 * status:  new => closed
 * resolution:   => invalid
 * component:  Menus => Administration
 * milestone:  Awaiting Review =>


Comment:

 Hi @conner_bw, thanks for the ticket!

 It looks like the warning here indicates a developer error. I don't think
 we should hide developer errors, a warning seems valid here.

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


More information about the wp-trac mailing list