After I updated plugins on my site http://bgdist.com I got a critical error on my site. Tried multiple restores and it did not fix it. Ask my host, Flywheel to take a look. They said it was being caused by the Cornerstone plugin. They were able to get the site back up BUT they had to disable both The Cornerstone theme and the X theme to get it back up. Obviously, the site looks like crap right now.
I currently have CS v.6…1.4 and X v.9.1.4.
Neither one of those were updated (not that i can remember anyway), prior to the critical error. Gravity Forms was updated to 2.5.15.
I reactivated CS and the site went down again with the same critical error.
Got in touch with Flywheel Support and asked them to get the site backup AGAIN, this time to deactivate Gravity Forms and see it that was the issue. Per Flywheel, that did not help. Only by deactivating BOTH Cornerstone AND X theme could they get the site back up. Flywheel Support said to share the following with the CS/X support:
PHP Fatal error: Cannot declare class Cornerstone_Shortcode_Preserver, because the name is already in use in /www/wp-content/plugins/cornerstone/includes/classes/classic/utility/class-shortcode-preserver.php on line 8
and…
PHP Fatal error: Uncaught Error: Call to undefined function CS() in /www/wp-content/themes/x/framework/legacy/functions/plugins/gravity-forms.php:42
Stack trace:
#0 /www/wp-includes/class-wp-hook.php(305): x_gravity_forms_checker('integrity')
#1 /www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#2 /www/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#3 /www/wp-content/themes/x/framework/legacy/functions/frontend/styles.php(43): do_action('x_enqueue_style...', 'integrity', '-light')
#4 /www/wp-includes/class-wp-hook.php(303): x_enqueue_site_styles('')
#5 /www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#6 /www/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#7 /www/wp-includes/script-loader.php(2083): do_action('wp_enqueue_scri...')
#8 /www/wp-includes/class-wp-hook.php(303): wp_enqueue_scripts('')
#9 /www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
#10 /www/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
#11 /www/wp-includes/ in /www/wp-content/themes/x/framework/legacy/functions/plugins/gravity-forms.php on line 42
This is a client site and it is currently trashed so I appreciate if this could be taken care of asap, if at all possible.
If you need admin access let me know.