PHP Notice when trying to save a event – Timezone related

Home Forums Calendar Products Events Calendar PRO PHP Notice when trying to save a event – Timezone related

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1288144
    Sam
    Participant

    Hi

    I am using Event Calendar Pro + Community Event Calendar and whenever I created an event both in admin panel and from the public facing form. It throws an exception as follows:

    Trace

    I did some preliminary investigation on this and it turned out to be that

    in events-calendar-pro-src/Tribe/Recurrence/Exclusion.php line 76

    1. $minutes_in_seconds = floatval( empty( $matches[3] ) ? 0 : $matches[3] ) * 60;
    Should be
    $minutes_in_seconds = floatval( empty( $matches[3] ) ? 0 : $matches[3] ) * 3600;

    2. Even after having the correct $minutes_in_seconds. For our timezone “Australia/Adelaide” (UTC+9.5)
    date_default_timezone_set still returns false. People have a solution by iterating timezone_abbreviations_list() ref. and do the manual comparison.

    Since this is in the Core code, would you please check and let me know when it is fixed.

    • This topic was modified 8 years, 11 months ago by Sam.
    • This topic was modified 8 years, 11 months ago by Victor.
    #1289180
    Victor
    Member

    Hi Sam!

    Thanks for reaching out to us and for letting us know about that. 🙂

    I could not reproduce the php notice but it may be for specific system settings. Could you please share with us your sys info by following this guide > https://theeventscalendar.com/knowledgebase/sharing-sys-info/

    This will provide us with the info to test on our side.

    In the meantime, I will reach the dev team to have a look at this and then let you know about it.

    Thanks,
    Victor

    #1290155
    Sam
    Participant

    This reply is private.

    #1290564
    Victor
    Member

    Hi Sam!

    Thanks for coming back with all the sys info.

    I could reproduce the PHP notice and have already created a report and linked this thread to it. It will be address by the dev team in one of our future releases and we will let you know as soon as we have an update for it.

    Thanks for taking your time and letting us know about that.

    Let us know if you have other questions.

    Best,
    Victor

    #1526810
    Victor
    Member

    Hi Sam!

    Just wanted to share with you that a new release of our plugins is out, including a fix for this issue 🙂

    Find out more about this release → https://theeventscalendar.com/maintenance-release-for-the-week-of-6-may-2018/

    We apologize for the delay and appreciate your patience while we worked on this.

    Please update the plugins and let us know if the fix works for your site.

    Best,
    Victor

    #1543074
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘PHP Notice when trying to save a event – Timezone related’ is closed to new replies.