Errors editing page in cornerstone - preview could not load

Hi,
Can you please help me? Since I upgraded X recently (a few months ago i believe) I keep having errors when trying to edit pages in cornerstone.
“The preview could not load. This is most often related to a plugin conflict or aggressive page cacheing. Checking the developer console for errors could indicate what went wrong.
Origin URL: https://www.finestcityimprov.com
Preview URL: https://www.finestcityimprov.com/theater/

This is happening on so many pages. If i disable SSL plugin sometimes it allows me to load the cornerstone page preview so i can edit it and sometimes it doesn’t. If i send you my login info would you be able to tell me why this is happening? thank you so much!

Hi There,

Thank you for writing in, your version of X and Cornerstone is not compatible, please update both to the latest version (X 6.4.2 / CS 3.4.2)

Updating Your Themes and Plugins

Remember to clear all your caching features (plugin, server-side, CDN, and browser’s cache) after updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Hope it helps,
Cheers!

My cornerstone is 3.3.8 and X is 6.3.6. Updating will make the difference?
Also, can you tell me how i "clear all your caching features - plug-in, server-side, CDN)

i figured out how to clear all caching features. however, i still don’t have the automatic updates available to me for X theme. i invalidated and revalidated the license and it still doesn’t give me the option. please help. thanks.

Hello @Finestcityimprov,

Thanks for updating the thread.

I see that you have updated Cornerstone to 3.4.3 but using old version of X Theme 6.3.6. Please update X Theme to 6.4.3 and Cornerstone to 3.4.3 to avoid any compatibility issues. You can follow the update guide that my colleague shared in previous reply.

Thanks.

thank you i manually updated to 6.4.3 and updated my cornerstone plugin ( i have multisite so can’t update automatically.)

now, when i click “edit in cornerstone” i get a completely white page. thoughts?
something isn’t working with cornerstone. i’ve updated X before and not had this issue. thanks

Hello @Finestcityimprov,

A white blank screen could be a fatal error. Most probably you have exhausted your PHP memory limit. By default, WordPress will attempt to increase memory allocated to PHP to 40MB (code is at the beginning of /wp-includes/default-constants.php) for single site and 64MB for multisite, so the setting in wp-config.php should reflect something higher than 40MB or 64MB depending on your setup.

​We recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

define( 'WP_MEMORY_LIMIT', '256M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

We would loved to know if this has work for you. Thank you.

thank you. my memory limits are already set to those.

other thoughts?

Hi again,

Can you please check for the following first:

  1. Clear all caches including browser cache then deactivate your caching plugin 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 seeing 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. If you’re using a child theme then deactivate it and switch to parent theme

  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.

If you still have problems kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thanks.

Thank you. I disabled “recent posts widget” and now the page is loading instead of just completely white. however, i am still getting this message when trying to edit a cornerstone page: “The preview could not load. This is most often related to a plugin conflict or aggressive page cacheing. Checking the developer console for errors could indicate what went wrong.
Origin URL: https://www.finestcityimprov.com
Preview URL: https://www.finestcityimprov.com/theater/

I have updated both X and cornerstone but still get this error message.

Hello @Finestcityimprov,

​To assist you better with this issue, would you mind providing us the url of your site with login credentials so we can take a closer look? This is to ensure that we can provide you with a tailored answer to your situation.

To do this, you can create a secure note with the following info:
– Link to your site
– WordPress Admin username / password

To know how to create a secure note, please check this out: https://theme.co/apex/forum/t/how-to-get-support/288

Thank you.

replied with secure note above.

Hello @Finestcityimprov,

When you edit a page in Cornerstone, you encounter an error because in the background, there is an internal error. Upon checking, it turns out that you do not met the requirements to run WordPress 5.0. Please make sure that you have meet the requirements to run the latest WordPress so that the theme and plugin features will work properly. WordPress 5.0 requires at least 7.2 (https://wordpress.org/about/requirements/). This could possibly be the cause of the issue. In most cases you cannot update your PHP version yourself and need to contact your host about this. The upgrade process is an easy process and should be something your host can do for you without affecting your website or charging you for it. Here’s a letter you can send to your hosting company:

Dear host,

I'm interested in running the open-source WordPress <https://wordpress.org/> web software and 
I was wondering if my account supported the following:

- PHP version 7.2 or greater
- MySQL version 5.6 or greater OR MariaDB version 10.0 or greater
- Nginx or Apache with mod_rewrite module
- HTTPS support

Looking forward to your reply.

Hope this helps. Kindly let us know.

that fixed it!! thank you so much

You are most welcome. :slight_smile:

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