• I’m trying to remove the Home submenu item under WooCommerce (though this happens for any menu item I try to remove), but after saving, it doesn’t get removed and shows this error:

    Warning: Undefined array key "active" in /var/www/html/wp-content/plugins/remove-admin-menus-by-role/remove-admin-menus-by-role.php on line 285 Warning: Undefined variable $remove_menu_admin_table in /var/www/html/wp-content/plugins/remove-admin-menus-by-role/remove-admin-menus-by-role.php on line 291

    When I first installed the plugin, I accidentally saved without having any role selected, so perhaps this caused it?

Viewing 1 replies (of 1 total)
  • Thread Starter Dashify

    (@dashify)

    I found out that it wasn’t being hidden because I was an Administrator.

    However, it still shows that warning.

Viewing 1 replies (of 1 total)

The topic ‘Undefined array key “active”, Undefined variable $remove_menu_admin_table’ is closed to new replies.