<?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 Tag: syntax error - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/syntax-error</link>
		<description>Gravity Support Forums Tag: syntax error - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:57:06 +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/tags/syntax-error" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Adding code messes up my wordpress admin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-code-messes-up-my-wordpress-admin#post-168932</link>
			<pubDate>Tue, 12 Mar 2013 11:59:23 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">168932@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got it sorted out. All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ruby on "Adding code messes up my wordpress admin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-code-messes-up-my-wordpress-admin#post-168546</link>
			<pubDate>Tue, 12 Mar 2013 03:35:12 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">168546@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ahhh Thank you so much!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Adding code messes up my wordpress admin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-code-messes-up-my-wordpress-admin#post-168415</link>
			<pubDate>Tue, 12 Mar 2013 00:47:28 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">168415@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is the merged code for you: &#60;a href=&#34;http://pastie.org/private/otszubuon80xyhznhokceq&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/private/otszubuon80xyhznhokceq&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The only thing I had to change was to delete two characters from the end of this file: &#60;a href=&#34;http://pastie.org/private/cenpgkwy4wms38rbyozaq&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/private/cenpgkwy4wms38rbyozaq&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;After the } on the last line, delete the ?&#38;gt; - then paste your new code at the bottom.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ruby on "Adding code messes up my wordpress admin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-code-messes-up-my-wordpress-admin#post-162367</link>
			<pubDate>Wed, 06 Mar 2013 21:18:41 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">162367@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please help me add the code
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "populate function give a white page. Why ?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-function-give-a-white-page-why#post-161908</link>
			<pubDate>Wed, 06 Mar 2013 08:45:19 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161908@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What error is logged when you get the white screen?  A 500 Internal Server Error should be logged.  We will need to know what the error is to be able to help you resolve it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Ruby on "Adding code messes up my wordpress admin"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-code-messes-up-my-wordpress-admin#post-161800</link>
			<pubDate>Wed, 06 Mar 2013 06:57:59 +0000</pubDate>
			<dc:creator>Ruby</dc:creator>
			<guid isPermaLink="false">161800@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;I changed themes and am trying to add this code again to my theme functions.&#60;br /&#62;
Here is the theme functions current code.&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/private/cenpgkwy4wms38rbyozaq&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/private/cenpgkwy4wms38rbyozaq&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I replaced the end } ?&#38;gt; with the code im trying to add&#60;/p&#62;
&#60;p&#62;and here is the code I'm trying to add&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/private/7sphfos8py6hljtvxacrqq&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/private/7sphfos8py6hljtvxacrqq&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Laurent CUCHET on "populate function give a white page. Why ?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-function-give-a-white-page-why#post-160638</link>
			<pubDate>Tue, 05 Mar 2013 05:26:30 +0000</pubDate>
			<dc:creator>Laurent CUCHET</dc:creator>
			<guid isPermaLink="false">160638@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;All in question, and the code here come from Gravity. Any idea why I get errors ?&#60;/p&#62;
&#60;p&#62;Code paste in functions.php :&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;// populate the field with &#38;quot;user_firstname&#38;quot; as the population parameter with the &#38;quot;first_name&#38;quot; of the current user
add_filter(&#38;#39;gform_field_value_user_firstname&#38;#39;, create_function(&#38;quot;&#38;quot;, &#38;#39;$value = populate_usermeta(\&#38;#39;first_name\&#38;#39;); return $value;&#38;#39; ));

// populate the field with &#38;quot;user_lastname&#38;quot; as the population parameter with the &#38;quot;last_name&#38;quot; of the current user
add_filter(&#38;#39;gform_field_value_user_lastname&#38;#39;, create_function(&#38;quot;&#38;quot;, &#38;#39;$value = populate_usermeta(\&#38;#39;last_name\&#38;#39;); return $value;&#38;#39; ));

// populate the field with &#38;quot;user_email&#38;quot; as the population parameter with the &#38;quot;email&#38;quot; of the current user
add_filter(&#38;#39;gform_field_value_user_email&#38;#39;, create_function(&#38;quot;&#38;quot;, &#38;#39;$value = populate_usermeta(\&#38;#39;user_email\&#38;#39;); return $value;&#38;#39; ));

// this function is called by both filters and returns the requested user meta of the current user
function populate_usermeta($meta_key){
global $current_user;
return $current_user-&#38;gt;__get($meta_key);
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Gravity Form installation crashed my page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-installation-crashed-my-page#post-159572</link>
			<pubDate>Mon, 04 Mar 2013 01:03:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">159572@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We will need to know what the error was which caused the site to go down. When the page is white or you get a blank screen, it is normally a 500 Internal Server error.  Those errors will be logged.  We need to know what the error was to know how to help you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>designpretty on "Gravity Form installation crashed my page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gravity-form-installation-crashed-my-page#post-159366</link>
			<pubDate>Sun, 03 Mar 2013 20:04:34 +0000</pubDate>
			<dc:creator>designpretty</dc:creator>
			<guid isPermaLink="false">159366@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I tried to install Gravity for on my wordpress and it completely crashed my page to the point where I couldn't even access my dashboard.  I subsequently had to contact my programer to fix it which defeated the purpose of using gravity forms.  Please contact me to assist with installation or refund my money asap.&#60;/p&#62;
&#60;p&#62;Thank you,&#60;/p&#62;
&#60;p&#62;Oneka Benn Schwartz
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Drop Down list dynamic population."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-list-dynamic-population#post-154565</link>
			<pubDate>Mon, 25 Feb 2013 23:25:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">154565@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If it broke your site, chances are you pasted it in the wrong place or it has a syntax error.  Please post your complete functions.php file to pastebin.com or pastie.org so we can check for syntax errors.&#60;/p&#62;
&#60;p&#62;The code goes into your current theme or child theme's functions.php.  Do not edit add your PHP code to any other file on the site (not WordPress core files or Gravity Forms plugin files.)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
