Title: Error when saving custom menu
Last modified: August 20, 2016

---

# Error when saving custom menu

 *  [blitz999](https://wordpress.org/support/users/blitz999/)
 * (@blitz999)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/)
 * Great idea…
 * I get this error when saving the menu in Appearances/Menus:
 * Warning: Invalid argument supplied for foreach() in xxx/wp-content/plugins/custom-
   menu-images/custom-menu-images.php on line 150
 * I changed the class in CSS Classes (optional), but it won’t save the required
   one.
 * Any ideas?

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

 *  [Reubz](https://wordpress.org/support/users/reubz/)
 * (@reubz)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143199)
 * Me too!!
 *  [Aphrodite](https://wordpress.org/support/users/aphrodite/)
 * (@aphrodite)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143207)
 * well…
 * same here on 3.2.1…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143208)
 * Please post a new topic.
 *  [Aphrodite](https://wordpress.org/support/users/aphrodite/)
 * (@aphrodite)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143209)
 * why ? this is exactly the same issue 🙂
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143210)
 * No it isn’t. You’re using a different version of WordPress. You should also be
   posting via [the plugin’s dedicated forum](http://wordpress.org/tags/custom-menu-images?forum_id=10).
 *  [Aphrodite](https://wordpress.org/support/users/aphrodite/)
 * (@aphrodite)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143211)
 * oups indeed 😉
 * well wil wait for answers in [http://wordpress.org/support/topic/plugin-custom-menu-images-it-saved-my-life-i-voted-it-works-first/](http://wordpress.org/support/topic/plugin-custom-menu-images-it-saved-my-life-i-voted-it-works-first/)
 * wich is, in fact the same 🙂
 * But anyway there is a much more simpler solution for that, native in WP !
 * Just use the img src in the menu label… works fine !

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

The topic ‘Error when saving custom menu’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-menu-images.svg)
 * [Custom Menu Images](https://wordpress.org/plugins/custom-menu-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-menu-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-menu-images/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-menu-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-menu-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-menu-images/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [Aphrodite](https://wordpress.org/support/users/aphrodite/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/error-when-saving-custom-menu/#post-2143211)
 * Status: not resolved