• Resolved terra3110

    (@terra3110)


    Hi,

    I use WordPress 6.0.2 on Ubuntu and tries this plugin, but it broke the Website with the following error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 111 of the file /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/time.php. Error message: Uncaught Exception: DateTimeZone::__construct(): Unknown or bad timezone (Etc/GMT+13) in /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/time.php:111
    Stack trace:
    #0 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/time.php(111): DateTimeZone->__construct()
    #1 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/time.php(79): HC3_Time->setTimezone()
    #2 [internal function]: HC3_Time->__construct()
    #3 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/dic.php(234): ReflectionClass->newInstanceArgs()
    #4 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/dic.php(229): HC3_Dic->make()
    #5 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/dic.php(229): HC3_Dic->make()
    #6 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/dic.php(229): HC3_Dic->make()
    #7 /home/www/htdocs/petvillanz/wp-content/plugins/shiftcontroller/hc3/dic.php(229): HC3_Dic->make()
    #8 /home/www/htdocs/petvillanz/wp-content/plugins/shif

    We are in New Zealand, timezone is NZDT

    Frank

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author plainware

    (@plainware)

    Hello,
    thank you for your feedback, I’m sorry for not replying sooner.
    Could you please set your WordPress timezone (in Settings, General) to “Pacific/Auckland” instead of the current “UTC+13”, it should resolve the issue.
    Also we’ve added a fix in our latest version update so it won’t break this way.

    Thread Starter terra3110

    (@terra3110)

    Many thanks, that solve the problem ! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error with Timezones’ is closed to new replies.