Hi there,
I haven’t received a response to my support ticket so I’m trying here! I am not able to edit any of the existing forms on my site without getting the message: There has been a critical error on this website. Please check your site admin email inbox for instructions.
An example of the live form is:
The error message is:
WordPress version 5.7.2
Current theme: Pro (version 4.3.3)
Current plugin: Gravity Forms Salesforce Add-On (version 3.1.2)
PHP version 7.3.12
Error Details
An error of type E_ERROR was caused in line 48 of the file /var/www/wp-content/plugins/gravity-forms-salesforce/lib/gf-utility-functions.php. Error message: Uncaught Error: Cannot use object of type Closure as array in /var/www/wp-content/plugins/gravity-forms-salesforce/lib/gf-utility-functions.php:48
Stack trace:
#0 /var/www/wp-content/plugins/gravity-forms-salesforce/lib/gf-utility-functions.php(66): rgar(Object(Closure), ‘live’)
#1 /var/www/wp-content/plugins/gravityforms/includes/settings/class-settings.php(1108): rgars(Object(Gravity_Forms\Gravity_Forms\Settings\Fields\Text), ‘dependency/live’)
#2 /var/www/wp-content/plugins/gravityforms/includes/settings/class-settings.php(1022): Gravity_Forms\Gravity_Forms\Settings\Settings->get_live_dependencies_for_group(Array)
#3 /var/www/wp-content/plugins/gravityforms/includes/settings/class-settings.php(352): Gravity_Forms\Gravity_Forms\Settings\Settings->get_live_dependencies()
#4 [internal function]: Gravity_Forms\Gravity_Forms\Settings\Settings->Gravity_Forms\Gravity_Forms\Settings{closure}(Array, false)
#5 /var/www/wp-content/plugins/gravityforms/includes/settings/class-settings.php(444): call_user_func(Object(Closure), Array, false)
#6 /var/www/wp-content/plugins/gravityforms/includes/settings/class-settings.php(256): Gravity_Forms\Gravity_Forms\Settings\Settings->can_enqueue_script(Array)
#7 /var/www/wp-includes/class-wp-hook.php(292): Gravity_Forms\Gravity_Forms\Settings\Settings->action_admin_enqueue_scripts(‘toplevel_page_g…’)
#8 /var/www/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#9 /var/www/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#10 /var/www/wp-admin/admin-header.php(102): do_action(‘admin_enqueue_s…’, ‘toplevel_page_g…’)
#11 /var/www/wp-admin/admin.php(239): require_once(’/var/www/wp-adm…’)
#12 {main}
thrown
Thanks for any help you can provide!