Urgent: website down after update

Site: https://www.fl-legal.ca/

We use gravity forms for our contact page. After updating our theme, we get the following error on all pages (not just the contact page). Please let us know how to correct it.

Fatal error: Uncaught Error: Call to a member function locate_assignment() on bool in /home/friclowenstein/public_html/wp-content/themes/x/framework/functions/plugins/gravity-forms.php:61 Stack trace: #0 /home/friclowenstein/public_html/wp-includes/class-wp-hook.php(289): x_gravity_forms_checker(‘integrity’) #1 /home/friclowenstein/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(’’, Array) #2 /home/friclowenstein/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 /home/friclowenstein/public_html/wp-content/themes/x/framework/functions/frontend/styles.php(43): do_action(‘x_enqueue_style…’, ‘integrity’, ‘-light’) #4 /home/friclowenstein/public_html/wp-includes/class-wp-hook.php(287): x_enqueue_site_styles(’’) #5 /home/friclowenstein/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #6 /home/friclowenstein/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #7 /home/friclowenstein/public_html/wp-includes/script-loader.php(2004): do_a in /home/friclowenstein/public_html/wp-content/themes/x/framework/functions/plugins/gravity-forms.php on line 61
There has been a critical error on this website.

I’m getting a similar issue after the theme was updated.

An error of type E_ERROR was caused in line 55 of the file /home/lyndaravlich/public_html/wp-content/themes/x/framework/functions/x/validation/class-validation-cornerstone.php. Error message: Uncaught Error: Call to undefined method TGM_Plugin_Activation::is_plugin_activated() in /home/lyndaravlich/public_html/wp-content/themes/x/framework/functions/x/validation/class-validation-cornerstone.php:55
Stack trace:
#0 /home/lyndaravlich/public_html/wp-includes/class-wp-hook.php(287): X_Validation_Cornerstone->maybe_show_notices(’’)
#1 /home/lyndaravlich/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(’’, Array)
#2 /home/lyndaravlich/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /home/lyndaravlich/public_html/wp-admin/admin-header.php(292): do_action(‘admin_notices’)
#4 /home/lyndaravlich/public_html/wp-admin/plugins.php(603): require_once(’/home/lyndaravl…’)
#5 {main}
thrown

I’ve gone into Recovery Mode and reverted to an old version of the theme and it works again for now, but the latest update breaks this site.

Hello Tyler,

Thanks for writing in! Could you please update to the latest versions?
Our latest versions are:

  • X theme 8.1.5
  • Cornerstone 5.1.5

This latest release contains fixes for several issues so be sure to check out the changelog:

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

It could also be caused by a plugin conflict, amongst other things. Please check out this troubleshooting article here and follow the instructions for the following sections (where appropriate):

Testing for Plugin Conflict
Theme Update
Child Theme
CSS/JS Customization
Disabling Cache
Disabling CDN

If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Please let us know how it goes.

Thank you for your prompt response. I had updated gravity and cornerstone but not X. Updating X resolved the issue.
Regards,
TF

Glad to hear it is working now! Thanks for letting us know.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.