Support

Home Forums Event Espresso Premium Bug in 3.1.28.4

Bug in 3.1.28.4

Posted: November 16, 2012 at 5:03 pm


zhochstatter

November 16, 2012 at 5:03 pm

Hello Guys,

Found a bug when creating events and selecting UTC as the time zone. PHP Fatel error

Notice: date_default_timezone_set(): Timezone ID ‘UTC+0’ is invalid in wp-content/plugins/event-espresso/includes/functions/time_date.php on line 512 This timezone is currently in standard time.
Fatal error: Uncaught exception ‘Exception’ with message ‘DateTimeZone::__construct(): Unknown or bad timezone (UTC+0)’ in /wp-content/plugins/event-espresso/includes/functions/time_date.php:523 Stack trace: #0 wp-content/plugins/event-espresso/includes/functions/time_date.php(523): DateTimeZone->__construct(‘UTC+0′) #1 /wp-content/plugins/event-espresso/includes/event-management/edit_event.php(506): eventespresso_ddtimezone() #2 wp-content/plugins/event-espresso/includes/event-management/index.php(95): edit_event(’12’) #3 /localwp-includes/plugin.php(403): event_espresso_manage_events(’12’) #4 /wp-admin/admin.php(151): do_action(”) #5 {main} thrown in /wp-content/plugins/event-espresso/includes/functions/time_date.php on line 523


Josh

  • Support Staff

November 16, 2012 at 5:11 pm

Hi there,

From what I remember, that’s a known issue. If you’ll notice in Event Espresso>General settings it instructs to use a city for the time zone. You’ll need to use a city instead of UTC in the WordPress >Settings>General under the Timezone setting. The same applies if you’re using the Event Timezone feature.


zhochstatter

November 16, 2012 at 5:28 pm

Great stuff Josh, thanks

The support post ‘Bug in 3.1.28.4’ 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