Cornerstone Preview Error!

Hi,

today when I tried to edit a page I got the following error:

Not matter how many times I reload the page it always appears and the page doesn’t load all the way…

Yesterday, I already had troubles with cornerstone. For some reason it wouldn’t preview the CSS I typed in.

I installed W3 Total Cache because it was recommended by you. Could this cause this error?

Thanks in advance
Dennis

I followed your guide to set up W3 Total Cache by the way, so I couldn’t have made a mistake. I disabled minify because the guide suggested to disable it if there are any problems, but I still get the error.

Hello @Kilik91,

Thanks for asking. :slight_smile:

Can you please share website login details and URL in a secure note for us to take closer look? Also have you tried disabling W3 total cache to see if that resolves the problem or not?

Thanks.

deactivating the plugin seems to have fixed it. So I can’t use it then? I also get many errors in cornerstone in general saying that the preview is not working.

Hi There,

That is a false positive error when W3TC is active, We can look into the best solution for this in a future update. For now, you should be able to suppress the error by adding this to functions.php of your child theme:

add_filter( 'w3tc_can_print_comment', '__return_false' );

How To Setup Child Themes

Always clear your caching plugin after doing changes/updates on your site. We actually advise that you deactivate it while you’re still developing the site.

Thanks,

I keep getting this error:

And the preview is not responsive. When I make changes it doesn’t show them.

Hi there,

That is a different matter which needs more detailed troubleshooting. We will appreciate if you follow the steps below and get back to us with the results:

  1. Clear all caches including browser cache then deactivate your caching plugins and other optimization plugins.
  2. If you’re using a CDN, please clear the CDN’s cache and disable optimization services.
  3. Test for a plugin conflict. You can do this by deactivating all third-party plugins, and see if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
  4. Remove custom CSS and Javascript from the options or Child Theme and test the case.
  5. Reset your htaccess file by renaming it to .htaccess-bak. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.
  6. Increase the PHP Memory Limit of your server. Click here for more detailed information and how to increase the PHP memory limit.

I also see an error while checking your website that there is a Javascript Error:

Also, I could see the preview and did not get the error using the Google Chrome Browser:

kindly get back to us with the results. Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.