Woocommerce/Cornerstone Checkout 500 error conflict

Hi there,

My checkout page is producing a 500 error. It is being caused by cornerstone plugin. I deactivated all plugins and only left woocommerce and cornerstone on so I know it’s cornerstone causing it. Wondering if there is a fix for this.

Thanks

MM

Hi,

The 500 Internal Server Error is a very general HTTP status code that means something has gone wrong on the web site’s server but the server could not be more specific on what the exact problem is.

Please enable wp debug by editing your wp-config.php file and setting WP_DEBUG to true

After that you should be able to see the actual error in your checkout page.

Thanks

Hi,

Even with wp_debug on, the page still returns the 500 internal error page instead of displaying the checkout. If I turn off cornerstone plugin, the checkout page displays.

Thanks

Hi there,

Would you mind providing your FTP details as well so that we can check further?

Thank you.

Hi there,

Please move the Woocommerce checkout shortcode in a Raw Content element instead of putting it in a Content Area element then try to check the checkout page again.

Let us know how it goes.

Hi,

Thanks for the suggestion but unfortunately no luck with a raw content element either.

Hello There,

Even if we use the [woocommerce_checkout] in the default WP editor. It stills throws error 500. Regretfully we could not check the error logs because the given ftp credentials seems to point to an empty folder.

Meanwhile, have you check how to resolve error 500 from this page?
http://support.hostgator.com/articles/cpanel/internal-server-error-help-500-error

Please let us know how it goes.

Hi,

Yes, it will show a 500 error unless cornerstone is deactivated, even if you paste the shortcode in the default editor. The conflict is between woocommerce and cornerstone plugins as far as I can tell. I tested to see if it was the htaccess file by deactivating it and nothing changed. The only way I can get the checkout to show up is by deactivating the cornerstone plugin, so this points to some kind of conflict between the two that I can’t pinpoint.

I will fix up the FTP credentials and repost them.

Thanks

Hi there,

Are you on shared hosting? The error is due to memory limit but I agree that you already changed them through wp-config.php. But it’s not taking effect, shared hosting usually don’t allow that. You should contact your hosting provider for this case.

PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 241664 bytes) in /home/lovelikelija/public_html/wp-content/plugins/cornerstone/includes/vendor/coalescence/class-template.php on line 144

It’s trying to allocate a 41mb memory and it fails, which means your site’s memory limit is around 40mb. Even a slider recommends at least 256mb limit, plus, if you have multiple active plugins then it may require more. It just happens that the cornerstone is loaded later than Woocommerce when it allocates the memory, else, it’s your Woocommerce that will trigger that error.

Thanks!

1 Like

Hi,

Amazing. You found the problem. I contacted my hosting provider and he suggested to delete unused resources i.e. plugins, unused domains etc. Now it works because there is more free memory.

Thanks for finding out what the issue was - I never would have found it! :smile:

I’m still getting the 500 error, but once I free up the memory it should work again.

I might just disable cornerstone and use another page builder like siteorigin for now. At least I know what the problem is.

On behalf of my colleague, you’re welcome. Cheers! :slight_smile:

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