Title: [Plugin: WordPress Events] Error when adding events
Last modified: August 20, 2016

---

# [Plugin: WordPress Events] Error when adding events

 *  [tangymedia](https://wordpress.org/support/users/tangymedia/)
 * (@tangymedia)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-wordpress-events-error-when-adding-events/)
 * I get the following error message when I publish a new event:
 * Fatal error: Uncaught exception ‘Exception’ with message ‘DateTime::__construct()[
   [datetime.–construct](https://wordpress.org/support/topic/plugin-wordpress-events-error-when-adding-events/datetime.--construct?output_format=md)]:
   Failed to parse time string (2012-4-13 🙂 at position 10 (:): Unexpected character’
   in /home/eventssh/public_html/wp-content/plugins/wordpress-events/includes/class-
   wordpress-events-setup.php:398 Stack trace: #0 /home/eventssh/public_html/wp-
   content/plugins/wordpress-events/includes/class-wordpress-events-setup.php(398):
   DateTime->__construct(‘2012-4-13 :’) #1 [internal function]: wordpress_events-
   >save_meta_box_data(275, Object(stdClass)) #2 /home/eventssh/public_html/wp-includes/
   plugin.php(405): call_user_func_array(Array, Array) #3 /home/eventssh/public_html/
   wp-includes/post.php(2656): do_action(‘save_post’, 275, Object(stdClass)) #4 /
   home/eventssh/public_html/wp-includes/post.php(2711): wp_insert_post(Array) #
   5 /home/eventssh/public_html/wp-admin/includes/post.php(230): wp_update_post(
   Array) #6 /home/eventssh/public_html/wp-admin/post.php(195): edit_post() #7 {
   main} thrown in /home/eventssh/public_html/wp-content/plugins/wordpress-events/
   includes/class-wordpress-events-setup.php on line 398
 * The event does get saved if it’s been done by an administrator, but not an author.
 * Any ideas?
 * [http://wordpress.org/extend/plugins/wordpress-events/](http://wordpress.org/extend/plugins/wordpress-events/)

The topic ‘[Plugin: WordPress Events] Error when adding events’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-events.svg)
 * [WordPress Events](https://wordpress.org/plugins/wordpress-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-events/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-events/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [tangymedia](https://wordpress.org/support/users/tangymedia/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/plugin-wordpress-events-error-when-adding-events/)
 * Status: not resolved