Bug: remove_menu_page() called too early
-
Hello again!
I found a bug in one of my client’s websites when I load any page in the Dashboard.
It’s trigger by the line:
remove_menu_page( $slug );
This is called too early and causes a warning (
$menu
is not an array) within WordPress’s core in./wp-admin/includes/plugin.php
.I found a relevant article at Stack Exchange.
- The topic ‘Bug: remove_menu_page() called too early’ is closed to new replies.