{"id":6100495,"date":"2015-05-06T15:33:40","date_gmt":"2015-05-06T15:33:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-warnings-patch-attached\/"},"modified":"2016-08-24T15:37:12","modified_gmt":"2016-08-24T15:37:12","slug":"php-warnings-patch-attached","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-warnings-patch-attached\/","title":{"rendered":"PHP warnings (patch attached)"},"content":{"rendered":"<p>Getting some warnings on the forms connection page:<\/p>\n<ul>\n<li><code>$_GET[&#039;sub&#039;]<\/code> is often undefined and needs to be tested<\/li>\n<li> an incorrect use of <code>$wpdb-&gt;prepare<\/code> when $id doesn&#8217;t exist<\/li>\n<\/ul>\n<p>I&#8217;ve created a patch file, that seems to fix these problems &#8211; can you take a look and include in your next version please?<\/p>\n<p>https:\/\/gist.github.com\/anugupta\/2dbc1b01cd5931e219c4<\/p>\n<p>https:\/\/wordpress.org\/plugins\/gravityforms-hubspot\/<\/p>\n","protected":false},"template":"","class_list":["post-6100495","topic","type-topic","status-closed","hentry","topic-tag-gravityforms"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6100495","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\/6100495\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6100495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}