Error in cornerstone

Can anyone assist please I have the following error in cornerstone and unable to fix it.

Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, Cornerstone.

First, visit your website (http://www.theroyalscots.co.uk/) and check for any visible issues. Next, visit the page where the error was caught (http://www.theroyalscots.co.uk/wp-admin/nav-menus.php) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely log in to your dashboard and investigate further.

Error Details

An error of type E_ERROR was caused in line 50 of the file /home/sites/theroyalscots.co.uk/public_html/wp-content/plugins/cornerstone/includes/menu-item-custom-fields/menu-item-custom-fields-walker.php. Error message: Out of memory (allocated 125796352) (tried to allocate 32077976 bytes)

Hello @printcentres,

Based on the error message, it looks like you need to have the PHP memory limit of your site increased.

To do this, please login through FTP then 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. */

Here is a details article about the PHP Memory Limit that is in our Knowledge Base:

In case the issue persists, please try to get in touch with your hosting provider and confirm to them that your PHP memory limit is increased.

Hope this helps.

1 Like

Unfortunately this fix did not work and the problem still exists any other ideas are welcome.

Hello PSC,

Thanks for updating the thread.

The error message indicates memory issue and even after increasing memory problem is not solving then please 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.

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.

Thank you.

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