Fatal error: Uncaught Exception: DateTimeZone
-
Hello,
This plugin was working fine until we updated to WordPress 5.1. I notice your plugin is only compatible up to 5.0.3. After updating to 5.1, we encountered the following PHP error on any page using the timed content shortcode:
Fatal error: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (00:00:00) in /home/wwpe/public_html/wp-content/plugins/timed-content/timed-content.php:1422 Stack trace: #0 /home/wwpe/public_html/wp-content/plugins/timed-content/timed-content.php(1422): DateTimeZone->__construct('00:00:00') #1 /home/wwpe/public_html/wp-includes/shortcodes.php(325): timedContentPlugin->serverShowHTML(Array, '\n<div class="ta...', 'timed-content-s...') #2 [internal function]: do_shortcode_tag(Array) #3 /home/wwpe/public_html/wp-includes/shortcodes.php(199): preg_replace_callback('/\\[(\\[?)(timed\\...', 'do_shortcode_ta...', '[timed-content-...') #4 /home/wwpe/public_html/wp-content/plugins/js_composer/include/helpers/helpers.php(234): do_shortcode('[timed-content-...') #5 /home/wwpe/public_html/wp-content/plugins/js_composer/include/templates/shortcodes/vc_column_text.php(27): wpb_js_remove_wpautop('<p>[timed-conte...', true) #6 /home/wwpe/public_html/wp-content/plugins/js_composer/include/classes/shortcodes/shortcode in /home/wwpe/public_html/wp-content/plugins/timed-content/timed-content.php on line 1422
This error prevents the loading of the page content.
Our site is set to the Brussels time zone. I tried changing to a different timezone (Chicago), but that did not resolve the issue.
We are using PHP version 7.1 and have the latest version of your plugin installed.
Can you assist?
The page I need help with: [log in to see the link]
- The topic ‘Fatal error: Uncaught Exception: DateTimeZone’ is closed to new replies.