Cannot edit pages with Cornerstone

Hi

Since the update I can’t edit my pages with Cornerstone. The page loads, but then I get a weird sidebar with options for pages (I think it has something to do with a template I created form a page and then re-used). When I click on the page I want to edit it loads in the Cornerstone editor, but I can’t actually edit any of the elements.

I have had an issue with this site before, where elements don’t load completely in Cornerstone, they’re just grey blocks.

Hi there,

I’ve taken a look at your site and there’s an internal server error when the editor tries to load.

As it’s a 500 internal server error, there should be a fatal error logged within your hosts error_log, if you could check that and post back here any errors that do show, which will help in debugging the issue.

Thanks!

Hi

Please see below the fatal errors that occur in the error_log:

[24-Oct-2017 11:07:05 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 36 bytes) in /home/houwhzsk/public_html/wp-content/plugins/cornerstone/includes/vendor/coalescence/class-template-directive.php on line 76
[24-Oct-2017 11:08:09 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 45 bytes) in /home/houwhzsk/public_html/wp-content/plugins/cornerstone/includes/vendor/coalescence/class-template-declaration.php on line 26
[24-Oct-2017 12:10:13 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 190546 bytes) in /home/houwhzsk/public_html/wp-content/plugins/cornerstone/includes/vendor/coalescence/class-template.php on line 144
[25-Oct-2017 15:54:00 UTC] PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 4104 bytes) in /home/houwhzsk/public_html/wp-content/plugins/cornerstone/includes/vendor/coalescence/class-expression.php on line 226

Hi There,

Thanks for writing in! It seems that a fatal error is triggering due to low memory. Can you please try adding the code below into your wp-config.php file located inside the root of your WordPress installation.

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

You can add it before the following line.

/* That's all, stop editing! Happy blogging. */

Hope that helps.

1 Like

I was having the same problem and this worked for me. Thanks!

You’re welcome!
Thanks for letting us know that it has worked for you.

I have added it, and now I can at least edit the pages. It still doesn’t clarify why I see this weird panel of pages on the left? Is this some sort of new thing that happens when you use a template?

The page also never fully loads, but has grey blocks and pinwheels:

Hello There,

Thanks for updating us in! Could you please update to the latest versions?
Our latest versions are:
- X theme 5.2.3
- Cornerstone 2.1.4

This latest release contains fixes for several issues so be sure to check out the changelog (http://theme.co/changelog/).

Always make sure that all your plugins are up to date as well. Most of the time, outdated theme or plugins will always create issues in the site.

After doing the updates, always remember to clear all caches (if you are using WP Rocket, WP SuperCache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

Please let us know how it goes.

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