Hello,
So this issue seems to persist or manifest itself in different ways. We are on WPEngine (PHP v5.6) and we take advantage of WPEngine’s Stage vs Live environment. You can make all of your changes on Stage and then push them to Live using WPEngine’s integrated tool.
I have repeatedly tried to push from Stage to Live but it always breaks Wordpress. Here is the error code that repeats numerous times in the error logs;
"[Tue Oct 24 23:55:52.699757 2017] [:error] [pid 30042] [client 50.234.24.238:36404] PHP Fatal error: Cannot redeclare class Cornerstone_Shortcode_Generator in /nas/content/live/clarityprod/wp-content/plugins/cornerstone/includes/classes/classic/builder/class-shortcode-generator.php on line 2585"
I read a couple of other posts from users with similar issues and tried pushing from stage to live, then deleting the Cornerstone plugin via FTP. Then I logged in and Cornerstone was reinstalled automatically via the X - Overview menu. That actually fixed the site from blowing up, but a new problem appeared. Now I am again having cornerstone shortcodes that do not render. here is an example;
What is frustrating is that these are cornerstone components that were updated using new and not classic elements. You had mentioned to place an “x_” in shortcodes but I should never have to do that for new elements built using Cornerstone. Furthermore, it is my understanding that you cannot edit Cornerstone tags directly unless using the raw element. Something is definitely off here.
For some reason the identical content works fine in Stage. But when pushed from Stage to Live, all of these issues appear. I have restored the backup of our Live site prior to the Stage to Live push. Any help would be appreciated. Thank you.