CS error: A conflict on the front end of your site has prevented the preview from loading

Hi,

This error: “A conflict on the front end of your site has prevented the preview from loading.” shows when my client tries to work in Cornerstone for the homepage. Cornerstone on all other pages seems to work. Only not the homepage. Any ideas?

See details below in next message.

Cheers

1 Like

Hello @MarleenV,

Thanks for asking and sorry for the trouble you are facing. We have launched few maintenance release, can you please update X Theme to the latest version? You can check the changelog https://theme.co/changelog/. We suggest you to please clear cache after upgrading to the latest version. https://screencast.com/t/oft1OkZNC

Thanks.

Hi Prasant,

Thanks for your feedback.
I’ve updated X and the issue still occurs. What to do?

Kind regards,
Marleen

Just in case: the issue occurs only with one page. All the other pages are ok…

I’ve had this same issue and started my own thread but no response yet. I understand they are inundated with problems and requests to fix it, but I cannot edit ANY page or post without getting the same error. I’ll follow this thread as well to see if any solutions other than reverting back to an older version are brought forth.

1 Like

Hi There,

Couple of things need you to do, please update the extensions that is comes with X, To update this plugin to version 2.0.2, follow these steps:

-Ensure your theme is validated so Extensions can be installed automaticaly
-Deactivate and delete the plugin.
-On the theme overview page, locate and install the plugin from "Extensions".
-Visit "Plugins" in your Dashbaord to activate the newly installed version.

Because all of the plugin settings are stored in the database, and because version 2.x will migrate settings from older versions, it's safe to use this method of deleting the previous version.

Another thing that I saw some custom functions on your child themes, please try switching to parent theme and see if that resolves the issue.

Remember to clear all caches after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Let us know how it goes,
Cheers!

Hi Friech,
Sorry I don’t fully understand what you mean.
I took the following steps:

  • activated parent theme: no succes.
  • I’ve made a new page, at first I could work in the new page. At some point again the same error. Also after deleting cache etc.

_Couple of things need you to do, please update the extensions that is comes with X, To update this plugin to version 2.0.2, follow these steps:
Which plugin? Do you mean Cornerstone? I have version 2.1.3. so 2.0.2 doesn’t make sense to me.

-Ensure your theme is validated so Extensions can be installed automaticaly
Check.
-Deactivate and delete the plugin.
Which one?
-On the theme overview page, locate and install the plugin from “Extensions”.
-Visit “Plugins” in your Dashbaord to activate the newly installed version.

Looking forward to your response!

Cheers,
Marleen

Hi there @MarleenV,

I’ve done some testing here on your site and it appears to be related directly to the cache.

Cornerstone tries to load the page data and the preview technically boots which can be seen from the console responses, however it fails on a jQuery error from caching.

The settings of the cache plugin, I see you have Redis setup for database caching, can you confirm this is all correctly setup server side?

For testing purposes if Redis is setup correctly, please clear all caches, disable the cache plugin, remove the defines it adds to your wp-config.php and remove the code it adds to your .htaccess and then try loading the Cornerstone editor again.

Thanks!