Starting this morning, we started receiving the following fatal error on our site:
Fatal error : Uncaught Error: Call to undefined function cornerstone() in /var/www/wp-content/themes/x/framework/legacy/functions/plugins/gravity-forms.php:42 Stack trace: #0 /var/www/wp-includes/class-wp-hook.php(310): x_gravity_forms_checker(‘integrity’) #1 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(’’, Array) #2 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /var/www/wp-content/themes/x/framework/legacy/functions/frontend/styles.php(43): do_action(‘x_enqueue_style…’, ‘integrity’, ‘-light’) #4 /var/www/wp-includes/class-wp-hook.php(308): x_enqueue_site_styles(’’) #5 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #6 /var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /var/www/wp-includes/script-loader.php(2180): do_action(‘wp_enqueue_scri…’) #8 /var/www/wp-includes/class-wp-hook.php(308): wp_enqueue_scripts(’’) #9 /var/www/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #10 /var/www/wp-includes/plugin. in /var/www/wp-content/themes/x/framework/legacy/functions/plugins/gravity-forms.php on line 42
There has been a critical error on this website.
I reached out to Gravity Forms and they said that the fatal error is being caused by Theme X - specifically calling on a function that does not exist:
Fatal error: Uncaught Error: Call to undefined function cornerstone() in…
…/wp-content/themes/x/framework/legacy/functions/plugins/gravity-forms.php on line 42
When I de-activate the Gravity Forms plugin, we no longer receive the fatal error and the site is able to load, but the formatting is a bit off. As soon as I enable the Gravity Forms plugin, we receive the fatal error again.
We currently have Cornerstone 6.1.4 installed but it looks like 7.0.2 may update overnight.
When I go to the X tab in Wordpress admin, it says that the installed version is 10.0.2.
If you need any additional information, please let me know how to retrieve it and I can supply it.
I am hoping to get some help as to why this is happening all of a sudden. There shouldn’t have been any changes other than plugins updating. Our site is hosted at Godaddy as a part of their managed wordpress hosting.