Title: Error when adding custom field
Last modified: August 30, 2016

---

# Error when adding custom field

 *  [lushtoblush](https://wordpress.org/support/users/lushtoblush/)
 * (@lushtoblush)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-custom-field/)
 * Hi, I’m getting an error when I try to add a custom field. I have put in “location”
   under Custom Field Name and “Valle De Guadalupe, Mexico” under value. I am getting
   the error “Please provide a custom field value.” even though I have clearly put“
   Valle De Guadalupe, Mexico” as the value. How can I fix this? I’d love to use
   this plugin.
 * Thanks!
 * [https://wordpress.org/plugins/simple-travel-map/](https://wordpress.org/plugins/simple-travel-map/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [lushtoblush](https://wordpress.org/support/users/lushtoblush/)
 * (@lushtoblush)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-custom-field/#post-6702656)
 * I’m getting this in my error log as well:
 * PHP Warning: Invalid argument supplied for foreach() in /home2/sunnyco4/public_html/
   wp-content/plugins/simple-travel-map/simple-travel-map.php on line 249

Viewing 1 replies (of 1 total)

The topic ‘Error when adding custom field’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-travel-map_ffffff.svg)
 * [Simple Travel Map](https://wordpress.org/plugins/simple-travel-map/)
 * [Support Threads](https://wordpress.org/support/plugin/simple-travel-map/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-travel-map/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-travel-map/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-travel-map/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [lushtoblush](https://wordpress.org/support/users/lushtoblush/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/error-when-adding-custom-field/#post-6702656)
 * Status: not resolved