Pro 7.8.10 — Cornerstone editor stuck on spinner for WordPress front page when Complianz is installed

Hi,

I’ve found a reproducible bug in Pro Theme 7.8.10 affecting the Cornerstone editor on the WordPress front page.

Symptom:The editor outline panel loads correctly, but the preview pane is permanently stuck on the loading spinner. The issue occurs only on whichever page is set as the WordPress front page — all other pages edit normally.

Confirmed on two separate sites:
Both sites have Complianz GDPR Premium installed. The bug does not appear on sites without Complianz.

Console error:

TypeError: Cannot read properties of undefined (reading 'data')
    at zUe (app.react18.7.8.10.js:149:1125)
    at HTMLDocument.<anonymous> (app.react18.7.8.10.js:149:3831)

Technical findings:

  • csAppData.use_late_data is true on the front page
  • The Cornerstone store initializes with only 1 element (the page itself)
  • The preview iframe src is never set — something in zUe crashes before the preview can initialize
  • The /themeco/data/document/{id} REST endpoint returns valid data (200 OK), so the data itself is not corrupted

Please let me know if a hotfix or workaround is available.

Hello @sorendigital,

Thanks for writing to us.

To help you with your concerns, we need to check your settings. I would request you please share the admin login details meanwhile I would suggest you troubleshoot a few of the common issues before we investigate your settings. If it doesn’t work for you, please clone your website to the staging server and share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • Exact page URL

You can find the Secure Note button at the bottom of your posts

Thanks

I have checked the common issues. This is exactly as described- a Complianz and Cornerstone issue.
I don’t have access to make it a staging site currently but can get you a login to the live site unless you would like to avoid that.

Or I can take a look at settings you might look at and paste the items here.

Hello Paul,

Install a Pro child theme, which you can get here:https://theme.co/docs/child-themes#child-theme-download

Once installed, go to Appearance > File Editor and add this custom PHP code in your child theme’s “functions.php” to bypass the Complainz plugin while editing in Cornerstone:

function cmplz_my_filter_site_needs_cookiewarning( $cookiewarning_required) {
	if ( is_user_logged_in() ) {
		return false;
	}
	return true;
}
add_filter( 'cmplz_site_needs_cookiewarning', 'cmplz_my_filter_site_needs_cookiewarning' );

Kindly let us know how it goes.

1 Like