We are seeing the following error when submitting a donation

We tracked this down to the following function in the latest version of the plugin.
/wp-content/plugins/gravity-forms-click-pledge/class.GFCnpPlugin.php
From what I can see this table 'wp_rg_lead_meta' was deprecated since gravity forms 2.3. See https://docs.gravityforms.com/databa...rence/#changes
Although the plugin says it supports the following version.
Any assistance would be appreciated!
We tracked this down to the following function in the latest version of the plugin.
/wp-content/plugins/gravity-forms-click-pledge/class.GFCnpPlugin.php
Code:
/** * check whether this form entry's unique ID has already been used; if so, we've already done a payment attempt. * @param array $form * @return boolean */ protected function hasFormBeenProcessed($form) { global $wpdb; $unique_id = RGFormsModel::get_form_unique_id($form['id']); $sql = "select lead_id from {$wpdb->prefix}rg_lead_meta where meta_key='gfcnp_unique_id' and meta_value = \"%s\""; $lead_id = $wpdb->get_var($wpdb->prepare($sql, $unique_id)); return !empty($lead_id); }
Although the plugin says it supports the following version.
Release 3.700.007/WP:v5.2.1/GF:v2.4.9.5: May 30, 2019
Comment