Cornerstone error - Conflict on the front end of your site has prevented the preview

When I edit a page in cornerstone. It gives me the following error - “Conflict on the front end of your site has prevented the preview”. All other pages open fine in cornerstone.

Page url - https://www.interglobetechnologies.com/campaigns/arc-airline-reservation-chatbot

Regards,
Amit Malhotra

Hi @amit3076,

Thanks for writing in.

Base on the URL that you shared, I could see that you have a lot of elements used. Please try to clear your site and browser cache and also try to use transient cleaner to clear your cache deeper.

If still happening, please to remove your element block one by one to determine which block is causing the problem.

If still not helping, please share us your admin credentials so we could check your setup closer.

Don’t forget to set it as secure note.

Thanks. :slight_smile:

Hello There,

Thanks for providing the information. I have logged in and tested several pages. It has the same issue. I could not edit any of the pages in your site. It could be a PHP memory limit or PHP time out limit. Could you provide us ftp credentials so that we can investigate further?

Please let us know how it goes.

Thanks. I would be able to provide you ftp username and password. Let me know if this would work?

I just saw a similar post - https://theme.co/apex/forum/t/a-conflict-on-the-front-end-of-your-site-has-prevented-the-preview-from-loading-error/4231/12

I have been using similar plugin “Custom Permalinks”. After seeing that post, I deactivated that plugin and tried to edit a page in cornerstone. It worked fine. But again, after activating same plugin, same page did not work. I believe problem might be with that plugin compatibility with the theme.

But the problem is this site has lot of pages. There url is edited manually using that plugin. If i deactivate that, all urls get changed. For eg. current url of this page - interglobetechnologies.com/industries/airlines
gets changed to interglobetechnologies .com/industriesairlines after deactivating that plugin. It is not doable for 100s of pages.

Can you advise me of that?

Thanks.
Amit

Hi Amit,

Yes, we can confirm that the builder will not load once the permalink was altered. I have forwarded this issue to our developer and we will let you know once we have an update. Thank you for understanding.

Any update on this issue? I have a client who is relying on being able to use permalinks on a page by page basis, but doesn’t want to launch with the custom permalinks conflict as is.

Hi there,

I checked and there is no update yet, the problem with custom permalinks is that the URL parameters aren’t forwarded to passed through query_var, and it’s really going to fail. That’s why adding custom permalinks is a bit tricky and could put down a site. That plugin is simply changing the URL slug (identity) of the page but not the data required when the permalink is parsed.

Thanks.

I’ve looked into this and it’s a bug in the custom permalink plugin. They reject URLs that contain a trailing slash. From what I can tell it thinks it’s one of the previous URLs because the query information matches, but it isn’t an exact match to the custom slug. They should just be able to honor either form - slash or no slash. The plugin redirects a trailing slash to a non trailing slash with a 301. This could cause infinite redirect loops on servers that enforce a trailing slash.