Support

Home Forums Event Espresso Premium server error caused by EE when using default contact form

server error caused by EE when using default contact form

Posted: June 22, 2020 at 7:22 am


J Baalbergen

June 22, 2020 at 7:22 am

Good afternoon,

We have a problem with a contact form on our website. Our provider noticed this error every time they clicked the sent button.

[Mon Jun 22 14:51:24.723355 2020] [error] [pid 113456] mod_proxy_fcgi.c(860): [client 217.21.177.70:54815] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 20480 bytes) in /data/sites/web/despyldernl/subsites/despylder.nl/wp-content/plugins/event-espresso-core-reg/modules/core_rest_api/EED_Core_Rest_Api.module.php on line 203’

Do you have an idea what is going on?

Kind regards, Jolanda


J Baalbergen

June 22, 2020 at 7:26 am

Here you can find the form which causes this error.

https://www.despylder.nl/vriend-worden/


Tony

  • Support Staff

June 22, 2020 at 7:39 am

Hi there,

The error is showing you site is running out of memory at 40MB, that’s a fairly small amount of memory and I recommend using at least 96MB.

You can do that by adding something like:

define('WP_MEMORY_LIMIT', '96M');

To your site’s wp-config.php file.


J Baalbergen

June 22, 2020 at 12:39 pm

Hello Tony,
In the controlpanel of our provider I changed the memory limit in the php-settings to 128 MB, which solved this problem.
Thank you very much for your help.
Kind regards, Jolanda


Tony

  • Support Staff

June 22, 2020 at 2:04 pm

Yeah, that’ll work too 🙂

You’re most welcome and I’m glad it is now working for you.

The support post ‘server error caused by EE when using default contact form’ 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