Cornerstone Plugin Creates 500 Internal Server Error

WP Version 4.9.4
MySQL Version 5.5.32
PHP Version 5.3
X Version 6

I’ve got a brand new Wordpress install and have installed the X Theme.
The theme didn’t work until I upped the memory limit in the wp-config file.

But now I get a 500 Internal Server Error whenever I activate the Cornerstone plugin. I can only access the site and admin again after renaming the plugin folder on the FTP (effectively deactivating it).

I have no other plugins active at the same time, none. I even disabled W3TC.

Please help as I’d like to be able to use Cornerstone and also not have to disable it everytime I click on “X Addons”.

Hello @oturpin,

Thanks for asking. :slight_smile:

This usually means there is a fatal PHP error. Can you please enable WP_DEBUG mode? You can do this by opening wp-config.php and adding define( 'WP_DEBUG' , true ); just above /* That's all, stop editing! Happy blogging. */ For example:

define('WP_DEBUG', true);

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

When you revisit the page with the error, you should have some error output describing the issue in more detail. Along with that can you please share website credentials (url/username/password) in a secure note for us to take closer look?

Thanks.

Hey Prasant,
Thanks for getting back to me! I’ve added an user for you, credentials in the secure note.

So I get this error just activating debug mode with Cornerstone deactivated:

Notice: Constant WP_MEMORY_LIMIT already defined in /hermes/bosnaweb20a/b2763/*****/public_html/*****/wp-config.php on line 96

I’ve just censored the address here with ***, but you will see it when you log in.

Now, with Cornerstone activated:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /hermes/bosnaweb20a/b2763/******/public_html/******/wp-content/plugins/cornerstone/includes/elements/mixins/counter.php on line 212

Thanks for your help! :slight_smile:

Hey there,

Please contact your host to increase your allocated memory or do it yourself by adding this code in your wp-config.php

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

Thanks.

Hi,

I already had increased memory limits in the wp-config.php file. I changed the values for those you mentioned, but it still gives me the same error.

Thanks,

Had the same issue. Contact your Hoster and ask him to increase your Memory Limit. Do you have Access to the php.ini on your Server?

Yeah I guess I’ll have to do that. They’re a pain to contact and no cpanel. Was hoping to do it myself.

I can edit php.ini in the public_html, but I don’t have access to edit anything else on the server.

Hi there,

It would be best to contact your host about the PHP memory limit or your site because there are instances that even if you add that code suggested in the wp-config.php file would not take effect as this will only be possible if adjust by your host.

The host has increased the memory limit and enabled output_buffering.
Everything seems to be in working order now!

Thanks for your help :slight_smile:

Glad to hear that. :slight_smile:

@TheAustrianPro, I noticed that you posted a reply. Please start a new thread of you have issues and questions :slight_smile:

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