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 31If I re-save each event without making any changes, the errors goes away.
- The topic ‘Fatal errors after import’ is closed to new replies.