Hi,
I am unable to edit some pages and footers built using Cornerstone. I get the following error message:
The preview could not load due to the iframe response being incomplete. This is most often related to a plugin conflict, or customizations introducing a PHP error.
The console is giving this error:
app.6f62d0f.js:2 Frame missing CORNERSTONE_FRAME signature. This could mean WordPress did not shutdown properly or this URL could be cached even though Cache Control headers are present.
I checked the error log:
[13-Oct-2022 12:05:46 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/customer/www/safewaves.eu/public_html/wp-content/themes/pro/cornerstone/includes/classes/dynamic-content/class-dynamic-content.php:361
Stack trace:
#0 /home/customer/www/safewaves.eu/public_html/wp-content/themes/pro/cornerstone/includes/classes/dynamic-content/class-dynamic-content.php(334): Cornerstone_Dynamic_Content->get_first_term_for_post(Object(WP_Post))
#1 /home/customer/www/safewaves.eu/public_html/wp-content/themes/pro/cornerstone/includes/classes/dynamic-content/class-dynamic-content.php(317): Cornerstone_Dynamic_Content->get_cached_first_term_for_post(Object(WP_Post))
#2 /home/customer/www/safewaves.eu/public_html/wp-content/themes/pro/cornerstone/includes/classes/app/class-preview-rendering.php(218): Cornerstone_Dynamic_Content->get_contextual_term()
#3 /home/customer/www/safewaves.eu/public_html/wp-content/themes/pro/cornerstone/includes/classes/app/class-preview-rendering.php(185): Cornerstone_Preview_Rendering->get_context_id in /home/customer/www/safewaves.eu/public_html/wp-content/themes/pro/cornerstone/includes/classes/dynamic-content/class-dynamic-content.php on line 361
I tried troubleshooting by disabling the child theme and all other plugins but the problem still appears. Also tried clearing all cache on the siteground cloud server.
These items are giving this issue:
- Homepage
- Footer
So I would kindly ask if you can take a look. I will add the login credentials to the secure note.