Support

Home Forums Event Espresso Premium Memory Error

Memory Error

Posted: May 13, 2013 at 2:26 pm

Viewing 5 reply threads


Joseph Cohn

May 13, 2013 at 2:26 pm

ob_start();

event_espresso_attendee_list($event_id, $event_identifier, $category_identifier, $show_gravatar, $show_expired, $show_secondary, $show_deleted, $show_recurrence, $limit, $paid_only);

$buffer = ob_get_contents();

ob_end_clean();

return $buffer;

 

When I comment that out the memory error goes away and the SINGLEEVENT shortcode works.

any info would be great


Josh

  • Support Staff

May 13, 2013 at 3:03 pm

Hi Joseph,

Is this a case where you have the [LISTATTENDEES] shortcode within the same page as the single event shortcode, or within the event description of the event that is displaying?

Also, is a memory limit set in wp-config.php? The Event Espresso>System status page will display the memory limit amount set there if it’s set.


Joseph Cohn

May 13, 2013 at 4:24 pm

Client is asking for list of attendees on the event page. Any way to do that?


Josh

  • Support Staff

May 14, 2013 at 7:33 am

Yes. It does require some memory to run the extra queries though, and if your installation is running out of memory, you’ll see a memory error.

What is the memory limit set at? Can you try increasing it?

http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/


Joseph Cohn

May 14, 2013 at 7:35 am

I tried increasing all the way up to 256M which is probably a bad idea anyway and still did not help.


Josh

  • Support Staff

May 14, 2013 at 7:47 am

Your host may be overriding the memory setting in the PHP ini file, you may be able to check to see how much memory is actually available by using a plugin like WP memory usage. We recommend 64MB of memory and you may need to request that your host increase the limit.

Viewing 5 reply threads

The support post ‘Memory Error’ 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