Support » Plugin: WP WDFY Integration of Wodify » Unknown or Bad Timezone

  • Resolved stanleyj42

    (@stanleyj42)


    Just installed the widget and i went through getting everything connected but when I add to my site I get this error:
    Fatal error: Uncaught exception ‘Exception’ with message ‘DateTimeZone. Unknown or bad timezone.

    I am on the east coast and i have tried US/Eastern, America/newyork, gmt-5 and EST5. Is their something in wodify i need to be looking at to match the time or what am i missing here. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author osti47

    (@osti47)

    is there a line number indication for PHP in the error message (can you please copy and paste the full error message here) or let me know the URL where Ican have a look myself. You can also contact me via email at stefan@28a.de

    Very sorry about that. I should have pasted the whole txt. Thank you for such a quick response!!

    Fatal error: Uncaught exception ‘Exception’ with message ‘DateTimeZone::__construct() [datetimezone.–construct]: Unknown or bad timezone ()’ in /home1/crossgv0/public_html/wp-content/plugins/wp-wdfy-integration-of-wodify/functions/wodify_api.php:368 Stack trace: #0 /home1/crossgv0/public_html/wp-content/plugins/wp-wdfy-integration-of-wodify/functions/wodify_api.php(368): DateTimeZone->__construct(”) #1 /home1/crossgv0/public_html/wp-content/plugins/wp-wdfy-integration-of-wodify/widgets/wodify_wod_widget.php(75): SOS_Wodify_API::wodifyFormatedWOD(‘CrossFit Carniv…’, ‘Class WOD’, ‘+0’, 0, Array, Array, true, 0, false) #2 /home1/crossgv0/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(485): SOS_Wodify_WOD_Widget->widget(Array, Array) #3 /home1/crossgv0/public_html/wp-content/plugins/siteorigin-panels/inc/renderer.php(787): SiteOrigin_Panels_Renderer->the_widget(Array, Array, 1, 2, 0, true, true, 4298, ”) #4 /home1/crossgv0/public_html/wp-content/plugins/siteorigin in /home1/crossgv0/public_html/wp-content/plugins/wp-wdfy-integration-of-wodify/functions/wodify_api.php on line 368

    Plugin Author osti47

    (@osti47)

    Can you please check your general WordPress tiemzone setting Under Settings/General/Timezone. What is the setup there?

    Plugin Author osti47

    (@osti47)

    Hi,

    I have just uploaded new version 1.15 of the plugin, which will hopefully fix your problem. Please update and check.

    Updated the app and I checked the time setting in WP. It is set to UTC-5, dont really see an option for this time zone so i set it to UTC and now I get the following error:

    Fatal error: Call to undefined method DateTime::createFromFormat() in /home1/crossgv0/public_html/wp-content/plugins/wp-wdfy-integration-of-wodify/functions/wodify_api.php on line 283

    Plugin Author osti47

    (@osti47)

    What PHP version is used on your server? The plugin requires at least PHP 5.5 to work. This error sounds like there is a version less than 5.3 installed.

    Version 5.4.24

    So it appears i need to upgrade to at least 5.5 before moving forward.

    Updated to 5.6 of PHP and the wod is now shwoing correctly!! Thank you so much for your help this widget is amazing!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Unknown or Bad Timezone’ is closed to new replies.