Support

Home Forums Event Espresso Premium EE4 compatibility issue

EE4 compatibility issue

Posted: February 20, 2014 at 11:51 am

Viewing 6 reply threads


David Holland

February 20, 2014 at 11:51 am

When I put EE4 into a live site I get.

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 4864 bytes) in /var/www/vhosts/exela.co.uk/httpdocs/wp-admin/includes/misc.php on line 297

I have increase added (define(‘WP_MEMORY_LIMIT’, ’64MB’);) to wp-config but to no affect.

any suggestions?


Garth

  • Support Staff

February 20, 2014 at 12:01 pm

Hi David,

How are you today?

A couple questions to try and figure out what’s going on here:

– Can you give us more detail about what steps you took to produce this error? Does this happen on activation, did you deactivate EE3? How many plugins do you have installed and activated?
– What does it mean when you “put EE4 int a live site”? Does it not occur when you have EE4 on a dev install of WordPress?

Allowed memory size error may not be related to just Event Espresso. http://wordpress.org/support/topic/fatal-error-allowed-memory-size-5


David Holland

February 20, 2014 at 12:08 pm

Active website without EE3 installed.
Loads of other plug-ins active.
Upload install.
Clicked activate Plug-ins screen after success screen
That is when I got the error.

Then I couldn’t login or access the back-end at all
wp-admin gave me the same error.

First I tried changing the permissions – no good

Then I hacked into wp-config – no good

so I deleted the plug-in folder in the file manager

back in no problem

I am guessing it is a conflict with the installed plug ins?

Before I did this I have been playing with with EE4 of a sub-domain on the same server only running EE4. No problem

I don’t have a copy of live with all the same plug-ins (My bad…but life. Perhaps I will get one for Christmas this year:))


Lorenzo Orlando Caum

  • Support Staff

February 20, 2014 at 12:15 pm

Hi David,

Did you add the memory limit macro towards the end of your wp-config.php file? If so, could you please relocate it towards the middle of the file and save changes?

http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP


Lorenzo


David Holland

February 20, 2014 at 12:19 pm

Where do you want me to put it

define(‘AUTH_KEY’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_KEY’, ‘put your unique phrase here’);
define(‘LOGGED_IN_KEY’, ‘put your unique phrase here’);
define(‘NONCE_KEY’, ‘put your unique phrase here’);
define(‘AUTH_SALT’, ‘put your unique phrase here’);
define(‘SECURE_AUTH_SALT’, ‘put your unique phrase here’);
define(‘LOGGED_IN_SALT’, ‘put your unique phrase here’);
define(‘NONCE_SALT’, ‘put your unique phrase here’);
(define(‘WP_MEMORY_LIMIT’, ’64MB’);)


Lorenzo Orlando Caum

  • Support Staff

February 20, 2014 at 12:36 pm

Trying using this one:

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

Note: it is not wrapped in extra parenthesis.


Lorenzo


David Holland

February 20, 2014 at 2:31 pm

that worked.


Garth

  • Support Staff

February 20, 2014 at 3:45 pm

It sounds like you need to re-evaluate how many plugins you have installed or your server capacity….you may start to experience other issues like this with so many plugins that seem to be very resource intensive.

Viewing 6 reply threads

The support post ‘EE4 compatibility issue’ 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