{"id":6552753,"date":"2015-09-16T14:43:58","date_gmt":"2015-09-16T14:43:58","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-error-when-submitting-form\/"},"modified":"2016-08-30T18:04:39","modified_gmt":"2016-08-30T18:04:39","slug":"php-error-when-submitting-form","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-error-when-submitting-form\/","title":{"rendered":"PHP Error When submitting form"},"content":{"rendered":"<p>Hi, I got a PHP error back when I submit a form  linked to Hubspot. I&#8217;m using the API key to link to Hubspot. Here is the error:<\/p>\n<blockquote>\n<p>Warning: Missing argument 4 for GFFeedAddOn::add_feed_error(), called in \/home\/webstage\/public_html\/wp-content\/plugins\/gravityforms-hubspot\/library\/class.gf-hubspot.php on line 118 and defined in \/home\/webstage\/public_html\/wp-content\/plugins\/gravityforms\/includes\/addon\/class-gf-feed-addon.php on line 1201<\/p>\n<p>Fatal error: Cannot use object of type stdClass as array in \/home\/webstage\/public_html\/wp-content\/plugins\/gravityforms\/gravityforms.php on line 3164<\/p>\n<\/blockquote>\n<p>Any Ideas on what is causing this?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/gravityforms-hubspot\/<\/p>\n","protected":false},"template":"","class_list":["post-6552753","topic","type-topic","status-publish","hentry","topic-tag-php"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6552753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6552753\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6552753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}