Support

Home Forums Event Espresso Premium Fatal error when exporting attendee list to Excel

Fatal error when exporting attendee list to Excel

Posted: October 7, 2013 at 12:24 pm


wbatson

October 7, 2013 at 12:24 pm

This just started today when exporting the event attendee list to Excel. When I open the Excel file there is the following message in the file:

Fatal error: Call to undefined method DateTime::createFromFormat() in /home1/wbatson/public_html/wp-content/plugins/event-espresso/includes/functions/export.php on line 501
Fatal Error (show)
The theme has encountered a problem that it cannot recover from. Please use the following information to try to resolve the problem.
Error Code: php_code_error:1:/home1/wbatson/public_html/wp-content/plugins/event-espresso/includes/functions/export.php:501:Call to undefined method DateTime::createFromFormat()
Message: A fatal code error occurred.
========================================================

I am using:
WordPress 3.6.1
Event Espresso Version 3.1.35.1.P with Ticketing add-on Version 2.0.10.2.p
This is not a new installation.
The registration page is http://familybuilders.net/event-registration/?ee=15

Thank you for any help on what is going on.

Willie


Sidney Harrell

October 7, 2013 at 12:31 pm

That function was introduced in php version 5.3. Can you go to EE->help/support and go down to the “important information” section? There will be an entry for php version. If it is less than 5.3 then you may need to upgrade your php version.


wbatson

October 7, 2013 at 12:37 pm

Thank you, Sidney. The PHP version is 5.2.17. How do I upgrade the php version?


Sidney Harrell

October 7, 2013 at 1:00 pm

It depends on your hosting type and provider. If you have a VPS where you manage the server yourself, then you would have to do it. If you have shared hosting where your provider manages the server, then your provider’s tech support would have to do it.


wbatson

October 7, 2013 at 1:05 pm

I checked with my hosting provider and found out how to edit the .htaccess file to take advantage of the newer php version. All is well and working as it should. Thank you!!

The support post ‘Fatal error when exporting attendee list to Excel’ 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