[wp-trac] [WordPress Trac] #17585: Function remove_menu_page() makes an error message
WordPress Trac
wp-trac at lists.automattic.com
Fri May 27 07:02:52 UTC 2011
#17585: Function remove_menu_page() makes an error message
--------------------------+-----------------------------
Reporter: Surbma | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 3.1.3
Severity: normal | Keywords:
--------------------------+-----------------------------
If I use the function remove_menu_page() an error message appears every
time when I'd like to quick edit a post or page and also when I'm editing
a post or page and it autosaves itself or if I make a change in the
permalink of the post or page.
The error message is this:
Warning: Invalid argument supplied for foreach() in
/storage1/home/premiumw/public_html/wp-admin/includes/plugin.php on line
1264
Warning: Invalid argument supplied for foreach() in
/storage1/home/premiumw/public_html/wp-admin/includes/plugin.php on line
1264
Warning: Cannot modify header information - headers already sent by
(output started at /storage1/home/premiumw/public_html/wp-
admin/includes/plugin.php:1264) in /storage1/home/premiumw/public_html/wp-
includes/class-wp-ajax-response.php on line 129
When I disable the plugin, the error is not appearing. This error message
was not there in the 3.1.2 version.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17585>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list