Title: Error after customizing admin menu
Last modified: March 23, 2018

---

# Error after customizing admin menu

 *  Resolved [elielcezar](https://wordpress.org/support/users/elielcezar/)
 * (@elielcezar)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-after-customizing-admin-menu/)
 * Hi, after customizing some itens in admin menu, I see this error:
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-content/plugins/wp-custom-admin-interface/wp-custom-admin-interface.php on
   line 1448
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-content/plugins/wp-custom-admin-interface/wp-custom-admin-interface.php on
   line 1463
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-admin/includes/plugin.php on line 1432
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-admin/includes/menu.php on line 156
 * Warning: uksort() expects parameter 1 to be array, null given in /home2/m2e/public_html/
   loja/wp-admin/includes/menu.php on line 241
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-admin/includes/menu.php on line 254
 * Warning: usort() expects parameter 1 to be array, null given in /home2/m2e/public_html/
   loja/wp-admin/includes/menu.php on line 302
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-admin/includes/menu.php on line 308
 * Warning: array_keys() expects parameter 1 to be array, null given in /home2/m2e/
   public_html/loja/wp-admin/includes/menu.php on line 327
 * Warning: array_pop() expects parameter 1 to be array, null given in /home2/m2e/
   public_html/loja/wp-admin/includes/menu.php on line 328
 * Warning: Invalid argument supplied for foreach() in /home2/m2e/public_html/loja/
   wp-admin/includes/menu.php on line 201

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/error-after-customizing-admin-menu/#post-10109522)
 * Hi,
 * On what page are you seeing this error? Was this error showing once or continuously?
   What version of WordPress are you using? What version of PHP are you using?
 * Is the plugin working and showing the error? Or is the plugin working and showing
   the error?
 * Thanks,
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/error-after-customizing-admin-menu/#post-10196470)
 * I am marking this as solved due to inactivity
 *  [Doc GermaniCus](https://wordpress.org/support/users/doc-germanicus/)
 * (@doc-germanicus)
 * [8 years ago](https://wordpress.org/support/topic/error-after-customizing-admin-menu/#post-10315803)
 * same problems here…
    every change of the settings brings errors… OceanWP
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 8 months ago](https://wordpress.org/support/topic/error-after-customizing-admin-menu/#post-10765823)
 * [@northernbeacheswebsites](https://wordpress.org/support/users/northernbeacheswebsites/)
   I’ve deleted your offer to login to your user’s site. I’m am 100% sure you mean
   well but please _never ask for credentials on these forums._
 * [https://wordpress.org/support/guidelines/#the-bad-stuff](https://wordpress.org/support/guidelines/#the-bad-stuff)
 * Now for the why: The internet is a wonderful place full of very nice people and
   a few very bad ones. I’m sure everyone here is very nice however, by giving some
   ones keys to your house you are trusting they wont steal anything. Likewise the
   person who takes the keys is now responsible for the house FOREVER.
 * If something was to go wrong, then you the author may well legally become liable
   for damages, which they would not normally have been as their software is provided
   without warranty.
 * **Please be aware that repeatedly asking for credentials will result in us asking
   you to repeatedly stop before escalating up to the plugins team.**

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error after customizing admin menu’ is closed to new replies.

 * ![](https://ps.w.org/wp-custom-admin-interface/assets/icon.svg?rev=1656274)
 * [WP Custom Admin Interface](https://wordpress.org/plugins/wp-custom-admin-interface/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-custom-admin-interface/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-custom-admin-interface/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-custom-admin-interface/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-custom-admin-interface/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-custom-admin-interface/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/error-after-customizing-admin-menu/#post-10765823)
 * Status: resolved