Title: Fatal errors after import
Last modified: June 7, 2018

---

# Fatal errors after import

 *  [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * (@swinggraphics)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/fatal-errors-after-import/)
 * To test, I created just two events and exported them using Tools > Export. I 
   deleted the events and imported using Tools > Import.
 * 1. Only one event is shown under All Events on the back end. No error is logged.
 * 2. On the front end, this error is generated:
 * > [07-Jun-2018 11:38:50 UTC] PHP Fatal error: Uncaught Exception: Error in formating
   > DateTime object. Expected DateTime, but instead given boolean in /Users/greg/
   > Sites/RHM/ISSM/wordpress/wp-content/plugins/event-organiser/includes/event-
   > organiser-utility-functions.php:31
   >  Stack trace: #0 /Users/greg/Sites/RHM/ISSM/
   > wordpress/wp-content/plugins/event-organiser/includes/event-organiser-utility-
   > functions.php(164): eo_format_datetime(false, ‘j F, Y’) #1 /Users/greg/Sites/
   > RHM/ISSM/wordpress/wp-content/themes/issm/functions.php(445): eo_format_event_occurrence()#
   > 2 /Users/greg/Sites/RHM/ISSM/wordpress/wp-includes/class-wp-hook.php(286): 
   > issm_event_meta(‘[post_date] by …’) #3 /Users/greg/Sites/RHM/ISSM/wordpress/
   > wp-includes/plugin.php(203): WP_Hook->apply_filters(‘[post_date] by …’, Array)#
   > 4 /Users/greg/Sites/RHM/ISSM/wordpress/wp-content/themes/genesis/lib/structure/
   > post.php(291): apply_filters(‘genesis_post_in…’, ‘[post_date] by …’) #5 /Users/
   > greg/Sites/RHM/ISSM/wordpress/wp-includes/class-wp-hook.php(286): genesis_post_info(”)#
   > 6 /Users/greg/Sites/RH in /Users/greg/Sites/RHM/ISSM/wordpress/wp-content/plugins/
   > event-organiser/includes/event-organiser-utility-functions.php on line 31
 * If I re-save each event without making any changes, the errors goes away.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jtbowz](https://wordpress.org/support/users/jtbowz/)
 * (@jtbowz)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-after-import/#post-10488051)
 * I’m getting the same errors after updating my WordPress version and updating 
   the plugin. I have 224 events already entered into my system. Do I need to open
   and save each of the 224 entries to make the errors go away?
 *  Thread Starter [swinggraphics](https://wordpress.org/support/users/swinggraphics/)
 * (@swinggraphics)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-after-import/#post-10488083)
 * If you open and save one of them, does the error go away for that event?
 *  [TheViv](https://wordpress.org/support/users/octotoot/)
 * (@octotoot)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-after-import/#post-10488398)
 * Go to Organiser Plugin > Settings > General > Maps > Map provider: select from
   DropDown “OpenStreetMap”. Save. It should all be good now.
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * (@stephenharris)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-after-import/#post-10492373)
 * [@swinggraphics](https://wordpress.org/support/users/swinggraphics/) – what are
   you using to export/import the events? Is the “WordPress Importer”? If so, then
   unfortunately events cannot be imported in this manner, as the event dates are
   not created.
 * Updating the events after importing, either manually or by running a script will
   resolve the issue.
 * Unfortunately the issue is not fixable until the WordPress Importer gets an update,
   as there are insufficient hooks to know when an event is imported so as to generate
   the event’s dates and store them in the database.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Fatal errors after import’ is closed to new replies.

 * ![](https://ps.w.org/event-organiser/assets/icon-256x256.png?rev=978123)
 * [Event Organiser](https://wordpress.org/plugins/event-organiser/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/event-organiser/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/event-organiser/)
 * [Active Topics](https://wordpress.org/support/plugin/event-organiser/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/event-organiser/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/event-organiser/reviews/)

## Tags

 * [event organizer](https://wordpress.org/support/topic-tag/event-organizer/)
 * [Stack trace](https://wordpress.org/support/topic-tag/stack-trace/)

 * 4 replies
 * 4 participants
 * Last reply from: [Stephen Harris](https://wordpress.org/support/users/stephenharris/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/fatal-errors-after-import/#post-10492373)
 * Status: not resolved