Title: Error with 2.40.4
Last modified: August 21, 2016

---

# Error with 2.40.4

 *  Resolved [imagefact](https://wordpress.org/support/users/imagefact/)
 * (@imagefact)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/error-with-2404/)
 * I just upgraded and whenever I try to save settings, I get this error:
 * ——————————————
    Warning: Invalid argument supplied for foreach() in /home/buddy/
   public_html/wp-content/plugins/mappress-google-maps-for-wordpress/mappress_settings.
   php on line 180
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/buddy/public_html/wp-content/plugins/mappress-google-maps-for-wordpress/
   mappress_settings.php:180) in /home/buddy/public_html/wp-includes/pluggable.php
   on line 876
 * ——————————————
 * The plugin seems to be working ok and it even seems to save settings that I’ve
   made. But obviously there is something new wrong whereas I didn’t have errors
   with the last version.
 * [http://wordpress.org/plugins/mappress-google-maps-for-wordpress/](http://wordpress.org/plugins/mappress-google-maps-for-wordpress/)

The topic ‘Error with 2.40.4’ is closed to new replies.

 * ![](https://ps.w.org/mappress-google-maps-for-wordpress/assets/icon-256x256.png?
   rev=2410347)
 * [MapPress Maps for WordPress](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mappress-google-maps-for-wordpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/)
 * [Active Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mappress-google-maps-for-wordpress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [imagefact](https://wordpress.org/support/users/imagefact/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/error-with-2404/)
 * Status: resolved