Title: foreach error
Last modified: August 21, 2016

---

# foreach error

 *  [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * (@jpilantrose)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/foreach-error-3/)
 * I’m getting “Warning: Invalid argument supplied for foreach() in class-emma-api.
   php on line 103” and my groups aren’t showing up. Maybe as a result, any address
   I put in the form is generating a “Member Not Added, Member may have already 
   been added. Please Try Again.” notification. Does json_decode depend on a server
   setting that I don’t have correct? Thanks in advance!
 * [https://wordpress.org/plugins/emma-emarketing-plugin/](https://wordpress.org/plugins/emma-emarketing-plugin/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * (@jpilantrose)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/foreach-error-3/#post-4847336)
 * Anyone else have a clue on this? I’ve made sure my php version is > 5.3. Magic
   quotes are off. I’ve tried stripslashes on the $response[‘body’] variable. All
   of these have had no impact.

Viewing 1 replies (of 1 total)

The topic ‘foreach error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/emma-emarketing-plugin_87949f.svg)
 * [Emma for WordPress](https://wordpress.org/plugins/emma-emarketing-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/emma-emarketing-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/emma-emarketing-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/emma-emarketing-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/emma-emarketing-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/emma-emarketing-plugin/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/foreach-error-3/#post-4847336)
 * Status: not resolved