<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Error: Invalid argument supplied for foreach()</title>
		<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach</link>
		<description>Gravity Support Forums Topic: Error: Invalid argument supplied for foreach()</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:05:00 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/error-invalid-argument-supplied-for-foreach" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12529</link>
			<pubDate>Thu, 11 Nov 2010 16:31:34 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">12529@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Anybody on versions 1.4 and above with issues saving the form please email me at &#60;a href=&#34;mailto:alex@rocketgenius.com&#34;&#62;alex@rocketgenius.com&#60;/a&#62; and I will send you an updated version with the fix
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sheila on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12507</link>
			<pubDate>Thu, 11 Nov 2010 13:49:58 +0000</pubDate>
			<dc:creator>Sheila</dc:creator>
			<guid isPermaLink="false">12507@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;On it's way to you now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12505</link>
			<pubDate>Thu, 11 Nov 2010 13:45:13 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">12505@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sheila,&#60;br /&#62;
I am working on an issue that I believe is related to the error you are experiencing.&#60;br /&#62;
Could you send me a WP admin login to &#60;a href=&#34;mailto:alex@rocketgenius.com&#34;&#62;alex@rocketgenius.com&#60;/a&#62; so that I can take a closer look?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sheila on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12489</link>
			<pubDate>Thu, 11 Nov 2010 11:16:23 +0000</pubDate>
			<dc:creator>Sheila</dc:creator>
			<guid isPermaLink="false">12489@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Interesting. I just encountered the same issue and do not have the p2pConverter plugin. I do have a header script on the page that's making 4 tabs for my forms. The forms were all fine with the script until this morning when I edited one of the forms. &#60;/p&#62;
&#60;p&#62;Now get this error: Warning: Invalid argument supplied for foreach() in /home/hoffman/public_html/dev/wp-content/plugins/gravityforms/form_display.php on line 746&#60;/p&#62;
&#60;p&#62;on this page: &#60;a href=&#34;http://dev.hoffmangraphics.com/join-soco&#34; rel=&#34;nofollow&#34;&#62;http://dev.hoffmangraphics.com/join-soco&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Fortunately I too have a back up so I can remove the form and recreate easily but don't want this happening regularly. I'm on 1.4.4 on this install.&#60;/p&#62;
&#60;p&#62;Here's what's in that header:&#60;br /&#62;
&#38;lt;script type=&#34;text/javascript&#34; src=&#34;p7epm/p7EPMscripts.js&#34;&#38;gt;&#38;lt;/script&#38;gt;&#60;br /&#62;
&#38;lt;link href=&#34;p7epm/epm4/p7EPM04.css&#34; rel=&#34;stylesheet&#34; type=&#34;text/css&#34; media=&#34;all&#34; /&#38;gt;&#60;/p&#62;
&#60;p&#62; So is this script the issue and do I just need to make all my edits THEN add it? I'd like to avoid this issue down the line. Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12431</link>
			<pubDate>Wed, 10 Nov 2010 16:46:23 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">12431@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Shayne,&#60;br /&#62;
Could you send me a temporary WP admin login to &#60;a href=&#34;mailto:alex@rocketgenius.com&#34;&#62;alex@rocketgenius.com&#60;/a&#62; so that I could take a closer look and get this resolved for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>skilber on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12412</link>
			<pubDate>Wed, 10 Nov 2010 13:57:40 +0000</pubDate>
			<dc:creator>skilber</dc:creator>
			<guid isPermaLink="false">12412@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl, &#60;/p&#62;
&#60;p&#62;I am having the same problem but I do not see that I have the p2pConverter plugin.  Any other ideas.  I did recently delete a form would this have anything to do with it?&#60;/p&#62;
&#60;p&#62;Thanks, &#60;/p&#62;
&#60;p&#62;Shayne
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Steven on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12136</link>
			<pubDate>Fri, 05 Nov 2010 03:29:08 +0000</pubDate>
			<dc:creator>Steven</dc:creator>
			<guid isPermaLink="false">12136@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ah... that explains. Thanks for the support - luckily I had a backup of the form so not too much harm for me :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12012</link>
			<pubDate>Wed, 03 Nov 2010 12:41:11 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">12012@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Even after deactivating the p2pConverter plugin you will get that error on forms created while the p2pConverter plugin was active because it permanently damages those forms.  If you were using the p2pConverter plugin you need to test by deactivating the p2pConverter plugin and then creating a new form and using the new form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Steven on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-12009</link>
			<pubDate>Wed, 03 Nov 2010 12:35:22 +0000</pubDate>
			<dc:creator>Steven</dc:creator>
			<guid isPermaLink="false">12009@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Carl,&#60;/p&#62;
&#60;p&#62;Similar situation for me. Already tried it with deactivating the p2pConverter plugin and all other plugins but the result remains the same. Also tried it with using the default Twenty Ten theme instead of K2... still the same. Will dig into this later tonight and if I need assistance I will sent more details over to you with a reference to this post.&#60;/p&#62;
&#60;p&#62;I get the following errors:&#60;/p&#62;
&#60;p&#62;Warning: Invalid argument supplied for foreach() in /home/.../wp-content/plugins/gravityforms/form_display.php on line 746&#60;/p&#62;
&#60;p&#62;Warning: Invalid argument supplied for foreach() in /home/.../wp-content/plugins/gravityforms/form_display.php on line 227&#60;/p&#62;
&#60;p&#62;Fatal error: [] operator not supported for strings in /home/.../wp-content/plugins/gravityforms/form_display.php on line 17
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Error: Invalid argument supplied for foreach()"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/error-invalid-argument-supplied-for-foreach#post-11976</link>
			<pubDate>Tue, 02 Nov 2010 18:53:11 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">11976@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The problem is a plugin you are running, p2pConverter,  is outputting Javascript on every single WordPress Admin page, even pages the plugin has nothing to do with such as the Gravity Forms admin pages.  This Javascript disrupts the form builder code and causes forms not to save properly.  This is why you receive error messages.&#60;/p&#62;
&#60;p&#62;So the problem is the p2pConverter plugin.  I went ahead and deactivated that plugin.  Whoever created it doesn't know what they are doing and needs to read up on best practices when it comes to WordPress plugin development
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
