[Resolved] [Plugin: ArtistDataPress] Unknown or bad timezone ()
I have activated the plugin and set it up to use on a client’s blog and the shortcode causes the “Shows” page we created to break. When tailing my PHP error_log I see the following:
[error] 25168#0: *37308 FastCGI sent in stderr: "PHP Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone::__construct(): Unknown or bad timezone ()' in /var/www/example.com/html/wp-content/plugins/artistdatapress/inc/layout.php:117
If I modify that file to and wrap the ISO lines in
if (!empty($show->showtimeZone))the error goes away. When logging the
showtimeZoneis an empty SimpleXMLElement object.
Is this the XML feed that is breaking, or is it the plugin?
Let me know if I can provide any more information.
- The topic ‘[Resolved] [Plugin: ArtistDataPress] Unknown or bad timezone ()’ is closed to new replies.