Issue with enddate causing event to show ended
-
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!
- The topic ‘Issue with enddate causing event to show ended’ is closed to new replies.