New fix
-
For anyone else who is still running this plugin, you may encounter the following error:
An error of type E_ERROR was caused in line 48 of the file wp-content/plugins/gravity-forms-salesforce/lib/gf-utility-functions.php. Error message: Uncaught Error: Cannot use object of type Closure as array
The fix is quite simple. You just need to edit gravity-forms-salesforce/lib/gf-utility-functions.php and change the function to be:
`
function rgar ( $array, $name ) {
if ( is_array($array) && isset( $array[$name] ) )
return $array[$name];return ”;
}
`It’s possible that a similar fix might be required for rgget(), but I haven’t encountered any issues (so far).
- The topic ‘New fix’ is closed to new replies.