Support

Home Forums Event Espresso Premium fatal error memory allocation

fatal error memory allocation

Posted: August 2, 2012 at 9:11 am


hroggen

August 2, 2012 at 9:11 am

HI cannot access event registration from website, at http://orffnz.org/event-registration?ee=27

this error code appears

Fatal error: Out of memory (allocated 26476544) (tried to allocate 83798 bytes) in /home/orffnzo/public_html/wp-content/themes/atahualpa/functions.php on line 269

cannot access through wp-admin either

Fatal error: Out of memory (allocated 26476544) (tried to allocate 30720 bytes) in /home/orffnzo/public_html/wp-includes/locale.php on line 113

The event price was to change on July 31. People had been registering ok up till then

event is on 13 August, organizers are worried help please

  • This topic was modified 11 years, 8 months ago by  Josh. Reason: this is not a pre-sales question


Josh

  • Support Staff

August 2, 2012 at 9:32 am

Please see this section of the WordPress codex: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Note that you might need to contact your host and request that they increase the memory limit if it is set low.

Also, if you have a lot of plugins installed, it can help to deactivate non-essential plugins.


hroggen

August 3, 2012 at 8:26 pm

Hi I have contacted the hosting company here is their reply

Hi,

On checking I found the plugin ‘events-registration’ is exceeding the memory limit on server and therefore you are getting memory errors on your web site.

We already have assigned 256M memory to your account which is enough to run any wp plugin script. Please check it with your developer/plugin vendor and let us know if you still have any problems or questions.


Josh

  • Support Staff

August 6, 2012 at 7:16 am

Is that a typo where they mention ‘events-registration’, or were they referring to Event Espresso?


hroggen

August 6, 2012 at 7:58 pm

it should be event espresso, there may have been other plugins in the past, perhaps something hasn’t been completely deleted?


Josh

  • Support Staff

August 6, 2012 at 8:22 pm

26476544 bytes is roughly equivalent to 25MB. Since your account allows for it, try increasing the amount of memory available to WordPress by editing the wp-config.php file.

Try either 64 or 96MB:

define(‘WP_MEMORY_LIMIT’, ’96M’);


hroggen

August 6, 2012 at 8:34 pm

I found the folder and deleted it through cpanel, but there may be other items needing removal, I don’t know where to look
found 2 folders for event espresso version 3.1.13.P and 3.1.15.P
is it ok to delete 3.1.13.P ?

cannot get access though wp-admin
still get these errors
Fatal error: Out of memory (allocated 26476544) (tried to allocate 23 bytes) in /home/orffnzo/public_html/wp-includes/locale.php on line 149

and when clicking events from menu

Fatal error: Out of memory (allocated 26476544) (tried to allocate 83798 bytes) in /home/orffnzo/public_html/wp-content/themes/atahualpa/functions.php on line 269

is there some way I can repair /reinstall through cpanel ?

event calendar shows up correctly, but clicking event creates same error as above.
thank you Hazel


hroggen

August 6, 2012 at 8:39 pm

hi
tried the 96M allocation, it was already 64, still the same error


Josh

  • Support Staff

August 6, 2012 at 9:03 pm

If you cannot access the wp-admin, you can deactivate plugins by re-naming the wp-content/plugins folder. Then log into the wp-admin.

If WordPress needs to be updated, update to the latest. Then update to the latest version of EE. https://eventespresso.com/wiki/updating-event-espresso/

It also does not sound like the memory allocation definition in the wp-config.php is working, 96 MB is equivalent to 100,700,000 bytes. That’s more memory than what the error message is indicating. You might check with the host to see if they can help with allocating some of that 256 MB for WordPress.


hroggen

August 7, 2012 at 4:41 am

HI
thank you for the access info, wordpress was the latest version, but i reinstalled it anyway, updated the theme, uploaded the latest version of EE, but cannot activate either version this is the current error

Fatal error: Out of memory (allocated 26476544) (tried to allocate 491520 bytes) in /home/orffnzo/public_html/wp-content/themes/atahualpa/functions/bfa_theme_options.php on line 1061

errors on wpbackup request as well
?
thanks for your help


Josh

  • Support Staff

August 7, 2012 at 4:49 am

If Event Espresso is deactivated, and the theme is throwing the same error, you’ll need to get the memory issue resolved with the host. Again, 26476544 (25MB) is lower than what you have set in wp_config.php. Make sure that the memory definition is entered correctly, and check with the host to see why this memory definition is not getting applied.


hroggen

August 7, 2012 at 10:55 am

hi
hosting company seem to have found the problem, its going again.
Thank you for all your help
Hazel

The support post ‘fatal error memory allocation’ 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