The video was helpful in identifying javascript to exclude, and that fixed the accordion problem. However, we are still not able to edit pages in Cornerstone. Please note that we are not trying to edit dynamically created pages, but pages that were created in Cornerstone in the first place. We just get a black screen with a white spinning circle. In the Chrome console it shows an error “Uncaught SyntaxError: Invalid or unexpected token” for app.514eb0c.js:1 . This started when we upgraded to 8.0.10.
UPDATE: I just now as I was typing this saw that there is now a version 8.0.11 so I updated both Cornerstone and X before posting this to see if the update fixed the problem. After updating, I cleared all caches. But the update broke my site. All the admin pages were giving an error, and I had the following error in the error log:
[10-Jan-2021 19:51:09 UTC] PHP Fatal error: Uncaught Error: Class ‘TGM_Plugin_Activation’ not found in /home/momschoi/public_html/wp-content/themes/x/framework/functions/x/validation/class-validation-cornerstone.php:55
Stack trace:
#0 /home/momschoi/public_html/wp-includes/class-wp-hook.php(287): X_Validation_Cornerstone->maybe_show_notices(’’)
#1 /home/momschoi/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#2 /home/momschoi/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#3 /home/momschoi/public_html/wp-admin/admin-header.php(292): do_action(‘admin_notices’)
#4 /home/momschoi/public_html/wp-admin/edit-form-advanced.php(425): require_once(’/home/momschoi/…’)
#5 /home/momschoi/public_html/wp-admin/post.php(206): require(’/home/momschoi/…’)
#6 {main}
thrown in /home/momschoi/public_html/wp-content/themes/x/framework/functions/x/validation/class-validation-cornerstone.php on line 55
I restored X back to 8.0.10, and that fixed that error. Cornerstone is still at 8.0.11, and that seems to have fixed my problem with the spinning circle and not being able to edit pages in Cornerstone. But now I need to figure out why updating X broke the site so that I can bring it back up to 8.0.11 to match Cornerstone.