<?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: gform_pre_render hook firing even if form is not found</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-hook-firing-even-if-form-is-not-found</link>
		<description>Gravity Support Forums Topic: gform_pre_render hook firing even if form is not found</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 18:24:45 +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/gform_pre_render-hook-firing-even-if-form-is-not-found" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "gform_pre_render hook firing even if form is not found"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-hook-firing-even-if-form-is-not-found#post-105105</link>
			<pubDate>Thu, 20 Dec 2012 17:20:58 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">105105@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, so our developers have confirmed this behavior and will be discussing what if anything should be done about it. It won't be in the main 1.7 release as they want to get that out soon, but it will be looked at closely for the next version. All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_pre_render hook firing even if form is not found"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-hook-firing-even-if-form-is-not-found#post-104952</link>
			<pubDate>Thu, 20 Dec 2012 11:46:36 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">104952@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for this report.  I will bring it to the attention of the development team.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ikappas on "gform_pre_render hook firing even if form is not found"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_pre_render-hook-firing-even-if-form-is-not-found#post-104928</link>
			<pubDate>Thu, 20 Dec 2012 09:58:31 +0000</pubDate>
			<dc:creator>ikappas</dc:creator>
			<guid isPermaLink="false">104928@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;When using the [gravityform] shortcode to embed a form in a post, and use a non existant id (perhaps the form was deleted after the post was created), then the gform_pre_render hook is fired with a null $form as an argument.&#60;/p&#62;
&#60;p&#62;If this hook is employed by any plugins such as the WMPL Gravity forms multilingual or in our case a custom plugin then we have to check for a valid $form object before using it otherwise we get some nice exceptions thrown by php. &#60;/p&#62;
&#60;p&#62;I dont know if this is by design, so I am reporting it as a probable bug -perhaps the hook should not be fired at all if the form is not found.&#60;/p&#62;
&#60;p&#62;This occurs in the latest version of Gravity Forms. 1.6.11&#60;br /&#62;
Cheerz,&#60;br /&#62;
Ioannis Kappas
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
