Support

Home Forums Event Espresso Premium Getting 500 error after installing Stripe Gateway (EE 4.6.0+)

Getting 500 error after installing Stripe Gateway (EE 4.6.0+)

Posted: January 13, 2017 at 2:37 pm

Viewing 3 reply threads


David Kearns

January 13, 2017 at 2:37 pm

We’ve started getting 500 errors when trying to edit EventEspresso events, like going to this URL is giving us a 500 error:

/wp-admin/admin.php?page=espresso_events&action=edit&post=3969&edit_nonce=8047ba97c8

We are running EE 4.9.25.p, the Stripe Plugin is Version 1.0.14.p.

I enabled logging for a few minutes in the EventEspresso settings but I don’t see any errors in the resulting logs. Disabling the plugin is not resolving the error either so we no longer know what we need to rollback to get our events functional again. Can you recommend any additional steps we can take to figure out what’s going on?


Josh

  • Support Staff

January 13, 2017 at 3:01 pm

Your server is probably running low on memory. So a quick fix that might work would be to bump up the amount of memory that WordPress is allowed to use.

You can increase the amount of memory available for WordPress by following this guide:
http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

You can use an [FTP client][1] and [a text editor][2] to edit the site’s wp-config.php file:

[1]: http://codex.wordpress.org/FTP_Clients
[2]: http://codex.wordpress.org/Editing_Files#Acceptable_External_Editors

If the above does not help, then it’s time to contact your host and ask them to allow more memory and even better, upgrade the server to use PHP 7.


David Kearns

January 13, 2017 at 9:38 pm

Thank you. I saw our host has allocated us 1024 MB of physical memory so I bumped up the WordPress memory limit to 256 MB, then again to 512 MB and the error finally disappeared. For anyone else’s reference:

define( ‘WP_MEMORY_LIMIT’, ‘512M’ );
define( ‘WP_MAX_MEMORY_LIMIT’, ‘768M’ );


David Kearns

January 15, 2017 at 8:30 pm

The error came back in the morning – probably due to the increased traffic to our site (or our host) affecting the memory requirements of our site.

We were able to resolve it by going into the cPanel settings and upgrading our PHP version to 7.

Viewing 3 reply threads

The support post ‘Getting 500 error after installing Stripe Gateway (EE 4.6.0+)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso