Title: Getting foreach error
Last modified: August 21, 2016

---

# Getting foreach error

 *  [zackskeeter](https://wordpress.org/support/users/zackskeeter/)
 * (@zackskeeter)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/getting-foreach-error/)
 * Tried with current release and get this error;
 * Warning: Invalid argument supplied for foreach() in /home2/amax2222/public_html/
   whatspecies/wp-content/plugins/gravity-forms-custom-post-typesOLD/gfcptaddonbase.
   php on line 50
 * Tried with the beta release too and get this error
 * Warning: Invalid argument supplied for foreach() in /home2/amax2222/public_html/
   whatspecies/wp-content/plugins/gravity-forms-custom-post-types/gfcptaddon_class.
   php on line 76
 * Any Idea how to patch this?
 * Here is the site, click “report content” to see for yourself
 * [http://goo.gl/rXOXtF](http://goo.gl/rXOXtF)
 * Urgently Need a fix.
 * Using gravity forms version 7.1.12
 * [http://wordpress.org/plugins/gravity-forms-custom-post-types/](http://wordpress.org/plugins/gravity-forms-custom-post-types/)

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

 * ![](https://ps.w.org/gravity-forms-custom-post-types/assets/icon-256x256.png?
   rev=2542252)
 * [Gravity Forms + Custom Post Types](https://wordpress.org/plugins/gravity-forms-custom-post-types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-custom-post-types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-custom-post-types/reviews/)

## Tags

 * [foreach](https://wordpress.org/support/topic-tag/foreach/)

 * 0 replies
 * 1 participant
 * Last reply from: [zackskeeter](https://wordpress.org/support/users/zackskeeter/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/getting-foreach-error/)
 * Status: not resolved