• Resolved Jubbutje

    (@jellesweb)


    Sorry, my English isn’t good but,
    With the last update somthing is gone wrong.
    Now I get this message:
    Fatal error: Uncaught exception 'InvalidArgumentException' with message 'The supplied timezone [] is not supported.' in /xxx/xxx/xxx/jellesweb.nl/public_html/wp-content/plugins/events-made-easy/ExpressiveDate.php:156 Stack trace: #0 /xxx/xxx/xxx/jellesweb.nl/public_html/wp-content/plugins/events-made-easy/ExpressiveDate.php(54): ExpressiveDate->parseSuppliedTimezone('') #1 /xxx/xxx/xxx/jellesweb.nl/public_html/wp-content/plugins/events-made-easy/eme_events.php(5): ExpressiveDate->__construct(NULL, '') #2 /xxx/xxx/xxx/jellesweb.nl/public_html/wp-content/plugins/events-made-easy/eme_events.php(90): eme_new_event() #3 [internal function]: eme_new_event_page('') #4 /xxx/xxx/xxx/jellesweb.nl/public_html/wp-includes/plugin.php(503): call_user_func_array('eme_new_event_p...', Array) #5 /xxx/xxx/xxx/jellesweb.nl/public_html/wp-admin/admin.php(236): do_action('evenementen_pag...') #6 {main} thrown in /xxx/xxx/xxx/jellesweb.nl/public_html/wp-content/plugins/events-made-easy/ExpressiveDate.php on line 156

    Can you take care of this?

    https://www.ads-software.com/plugins/events-made-easy/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Dear,

    I have exactly the same problem.. Latest version of WP, and updated to latest EME and got this error:

    The supplied timezone [] is not supported

    Also, I get a popup asking me to download DataTables.

    Hope you can solve this issue. I was searching for some place to set the datatimezone, cannot find it in the settings?

    A quick fix that I implemented just to get the site running:

    I added the following before line 54 in the ExpressiveData.php file (located in the plugins/events made easy/ folder.

    // added this line
    $timezone = “Europe/Amsterdam”; // change zone to where you live

    // above this line (54)
    $timezone = $this->parseSuppliedTimezone($timezone);

    ps take a look at: https://www01.ibm.com/support/knowledgecenter/#!/ssw_ibm_i_72/rzati/rzatitimezone.htm for more zones

    Thread Starter Jubbutje

    (@jellesweb)

    Thanks, That did it.

    Now it is running again. ??

    Plugin Author Franky

    (@liedekef)

    Which timezone do you have configured in your php.ini ?
    Maybe I should take into account “empty timezone” problems there (but I thought wordpress took care of those).
    Also, check your wordpress general settings for the configured timezone.
    Can you describe what you were doing when it happened?
    Concerning the datatables: it should be working, but I guess something went wrong when I pushed to svn … I don’t get the popup anywhere, but I’ll search for a clean install to check again

    Hi franky,

    It had happened on two websites of mine. One that runs in a web hosting and for which I can’t change the Php.ini and one on a server of mine. Never added any time zone there in the Php.ini and I don’t think this is mandatory during install. Anyway I just clicked on update this morning in WordPress and the result was this error. I solved it by setting this variable my self in the code. Perhaps this could be a setting somewhere in the admin? So people can set their own timezone.

    Cheers
    Bas

    Plugin Author Franky

    (@liedekef)

    No, it is related to the wordpress weird code concerning “UTC” values for timezones (in the wordpress general settings).
    Either change to a location-based timezone (e.g. Europe/Brussels) or update to 1.5.43 (just released)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Update gone wrong.’ is closed to new replies.