• Resolved huntero4

    (@huntero4)


    A client was having an issue with their events disappearing from the calendar, when you visited the events page direclty you saw a “Event date is past” notice.
    Looking at the event information I saw the following, which shows that the ‘enddate’ is earlier than the event date. This was a longstanding event but not sure if they had it sent to recurring or if they manually updated the event date each time.

    stdClass::__set_state(array( ‘event’ => ‘2281’, ‘post_title’ => ‘redacted’, ‘date’ => ‘2021-06-10 17:30:00’, ‘display_type’ => NULL, ‘enddate’ => ‘2021-05-13 18:30:00’, ‘ts_start’ => ‘1623371400’, ‘ts_end’ => ‘1620955800’, ‘timezone’ => ‘America/Los_Angeles’, ))

    A workaround was to:

    1.) Go to Event Options on the missing event.
    2.) Find the 'End Time' label and set the dropdown to something else, like 'All day'.
    3.) Hit 'Save'
    4.) Set 'End Time' back to what it was: probably 'Set End Time' and a time.
    5.) Hit 'Save'

    This fixed it (at least temporarily) and resulted in the following event details:

    stdClass::__set_state(array( ‘event’ => ‘2281’, ‘post_title’ => ‘redacted’, ‘date’ => ‘2021-06-10 17:30:00’, ‘display_type’ => ‘set’, ‘enddate’ => ‘2021-06-10 19:00:00’, ‘ts_start’ => ‘1623371400’, ‘ts_end’ => ‘1623376800’, ‘timezone’ => ‘America/Los_Angeles’, ))

    Please let me know if this is a bug or a misconfiguration on our part.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author davidfcarr

    (@davidfcarr)

    I’m investigating how this could have happened.

    Plugin Author davidfcarr

    (@davidfcarr)

    I put out a bug fix that I hope will prevent this from happening again. There’s some guesswork involved, but I did find a scenario where the end date was not being updated correctly when the start date is changed. Let me know if the issue recurs, but I’m going to mark this resolved for now.

    Thread Starter huntero4

    (@huntero4)

    Thanks so much @davidfcarr !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with enddate causing event to show ended’ is closed to new replies.