Support

Home Forums Event Espresso Premium Espresso Plugin Causing Fatal Error

Espresso Plugin Causing Fatal Error

Posted: July 20, 2013 at 12:00 pm


David Grandmaison

July 20, 2013 at 12:00 pm

Hello. I am running WordPress 3.5.2 and EE 3.1.33.3.P

My website is: http://www.theduluthexperience.com

I have been receiving Fatal Error out of memory messages.
It appears as though the plugin caused the fatal errors, and debugging discovered it was EE. Once it was deactivated and the site’s cache cleared, the site worked. Can someone explain why EE has a problem with mod_rewrite.

Has anyone else had this issue?

Thanks in advance for any advice or suggestions you might provide.

Dave


Josh

  • Support Staff

July 20, 2013 at 6:55 pm

Hi there,

As far as I know, Event Espresso doesn’t have a problem with mod_rewrite. An out of memory message indicates that your server is out of memory. You can resolve this be increasing the amount of memory available to PHP. Typically the defaults set by most shared hosting plans are too low to run applications like WordPress and Event Espresso while at the same time run caching plugins and using a “Pretty Permalink” URL structure.

http://stackoverflow.com/questions/8713047/changing-permalink-settings-in-wordpress-gives-fatal-error-out-of-memory


David Grandmaison

July 27, 2013 at 11:09 am

Josh, Thanks for getting back to me. I really appreciate it.

I worked with the host (Dreamhost) to increase the PHP memory to 128M and the problem persists. I went to the System Status EE plugin to see if I could learn anything there and here is a screenshot:

This is puzzling because I have the shortcodes embedded in the appropriate locations and, as I mentioned, the PHP memory has been increased.

Any advice you can provide would be very helpful. Currently the issue is making it nearly impossible to modify the site using the WP Dashboard and I am nervous that the ticket booking plugin will fail when a customer tries to book. The booking page is:

Thanks!

Dave


Seth Shoultes

  • Support Staff

July 27, 2013 at 11:43 am

Hi David,

Can you please re-post the links you are referring to above? It seems they may have been removed or forgotten ๐Ÿ™‚

Thanks!


David Grandmaison

July 27, 2013 at 11:47 am

Thanks Seth. Let’s see if I can figure this out… ๐Ÿ˜›


David Grandmaison

July 27, 2013 at 11:48 am

Don’t know how to embed the image but here is a link: http://flic.kr/p/fhNUxw


Seth Shoultes

  • Support Staff

July 27, 2013 at 12:04 pm

David,

Please see the notes I added to your screenshot:
http://www.screencast.com/t/Pg6tHkU27DM


David Grandmaison

July 27, 2013 at 12:16 pm

Thanks. I will look at the wp-config.php to see what is going on. What is weird is that when I go to edit page and look at my content, I can see the shortcode. Do you see anything wrong here: http://flic.kr/p/fhAMjX

Thanks again Seth.


Seth Shoultes

  • Support Staff

July 27, 2013 at 1:14 pm

Yes, it looks like you may be trying to add the Event Espresso shortcodes to your theme’s settings. That might possibly work for the calendar, but not the core shortcodes, that are required for Event Espresso to run properly and effectively. The core Event Espresso shortcodes will need to be added using the WordPress pages manager. This should have happened when Event Espresso was initially installed. Did you happen deleted the Event Espresso auto-generated pages?


Seth Shoultes

  • Support Staff

July 27, 2013 at 1:21 pm

Maybe this will help? http://www.screencast.com/t/j9AzlH4Eg


David Grandmaison

July 27, 2013 at 1:23 pm

Seth. I moved the shortcodes into the Pagelines content box as in the image I posted. The calendar shows up and everything but should I either: (1) move shortcodes to the WP pages manager, (2) copy shortcodes to WP pages manager, or (3) something else…?


David Grandmaison

July 27, 2013 at 1:45 pm

Ok. I moved the shortcodes back to the WP content box and it worked when I ran the system status again.


David Grandmaison

July 27, 2013 at 1:48 pm

But still having the php memory issue.


David Grandmaison

July 27, 2013 at 1:57 pm

What do I look for or add to the wp-config.php to solve this problem?


Josh

  • Support Staff

July 27, 2013 at 2:35 pm

Editing the wp-config.php file to increase the amount of memory allocated to PHP is detailed here:

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


David Grandmaison

July 29, 2013 at 6:26 am

Hi there Josh!

Is there a specific location within wp-config.php that I need to add the code to increase the amount of memory allocated to php?

Also, do I need to include both the definition and the maximum limit as shown in the link you provided?

define(‘WP_MEMORY_LIMIT’, ’64M’);
define(‘WP_MAX_MEMORY_LIMIT’, ‘256M’);

Thanks again for your help.


Josh

  • Support Staff

July 29, 2013 at 9:09 am

Hi David,

It can go before the line that says /* That’s all, stop editing! Happy blogging. */

I will usually only set WP_MEMORY_LIMIT in wp-config.php because WordPress tends to set it low (40MB).

WP_MAX_MEMORY_LIMIT is already set at 256MB by default by WordPress.

The support post ‘Espresso Plugin Causing Fatal 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