Title: PHP warnings (patch attached)
Last modified: August 24, 2016

---

# PHP warnings (patch attached)

 *  Resolved [anu](https://wordpress.org/support/users/anugupta-1/)
 * (@anugupta-1)
 * [11 years ago](https://wordpress.org/support/topic/php-warnings-patch-attached/)
 * Getting some warnings on the forms connection page:
    - `$_GET['sub']` is often undefined and needs to be tested
    -  an incorrect use of `$wpdb->prepare` when $id doesn’t exist
 * I’ve created a patch file, that seems to fix these problems – can you take a 
   look and include in your next version please?
 * [https://gist.github.com/anugupta/2dbc1b01cd5931e219c4](https://gist.github.com/anugupta/2dbc1b01cd5931e219c4)
 * [https://wordpress.org/plugins/gravityforms-hubspot/](https://wordpress.org/plugins/gravityforms-hubspot/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Chris Lagasse](https://wordpress.org/support/users/soben/)
 * (@soben)
 * [11 years ago](https://wordpress.org/support/topic/php-warnings-patch-attached/#post-6100673)
 * Hey Anu!
 * Thanks a lot for bringing those two issues to my attention. I have them in a 
   new fix with a couple other small bugs I had noticed recently. I’ll get those
   pushed up shortly 🙂

Viewing 1 replies (of 1 total)

The topic ‘PHP warnings (patch attached)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravityforms-hubspot_26e0df.svg)
 * [HubSpot for Gravity Forms](https://wordpress.org/plugins/gravityforms-hubspot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravityforms-hubspot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravityforms-hubspot/)
 * [Active Topics](https://wordpress.org/support/plugin/gravityforms-hubspot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravityforms-hubspot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravityforms-hubspot/reviews/)

## Tags

 * [GravityForms](https://wordpress.org/support/topic-tag/gravityforms/)

 * 1 reply
 * 2 participants
 * Last reply from: [Chris Lagasse](https://wordpress.org/support/users/soben/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/php-warnings-patch-attached/#post-6100673)
 * Status: resolved