List showing expired events
Thanks so much for reaching out!
As a first troubleshooting step, could you please provide us with your complete system information in a private reply using the instructions found in the following link?
In the meantime, I would also recommend checking your timezone settings under Settings < General.
Let me know how it goes!
Thanks for providing me with that information. You can also enable timezone support and additional timezone options for events by going to Events Settings < General and scrolling down to Timezone Settings.
Additionally, I would recommend updating your WordPress version to the most recent version, and updating your Events Calendar plugin to the most recent version.
Let me know how it goes!
In the Events general settings, timezone mode is: Use the local timezones for each event.
The timezone works properly if visiting an individual event page, it will say the event has passed. But it will still appear in the tribe_get_events query. We have access with the database and I have been able to remove an event from the query by editing the _EventEndDateUTC meta key so the value matches the timezone.
So just to clarify, are you able to make things work by this method manually? Or are you still experiencing the issue? Your server timezone is set to UTC, so you may want to check with your server to see if you can adjust that timezone.
Have you been able to update your plugins?
In addition, there are a number of mixed content error messages appearing in the console, so I would recommend installing and configuring a plugin, like this one, in order to resolve those errors.
It also seems that you do not have any Google Map API Keys, you can learn more about that configuration here:
Let me know how it all goes!
The regular Events Calendar and Pro version have been updated to the latest version and we are still able to replicate the issue. We’ve contacted our web host and we will not able to change the server timezone.
Manually changing the _EventStartDateUTC no longer works to remove the event, only changing the end date of the event will remove it from the list.
Example of my issue just to clarify what we’re seeing:
– An event is set to end at 12:00 PST (-8) with the server timezone at UTC (0)
– With this setting, the event will stay on our list of weekly events until 20:00 PST
– If I change the event’s end date to be 04:00 PST, the single event page will say the event passed but it will appear on our weekly events page until the proper end time.
Happy New Year!
Thank you for providing me with this information. Just so you know, if you make changes to your timezone settings, you may need to manually change the events created before changes were made in order for those events to work properly. If you create a new event under these conditions, do you still see the same issue occurring?
Do you only see this issue occur when you use a shortcode, or on the main calendar as well? If the issue occurs with a shortcode, can you provide me with that exact shortcode, so that I can run some tests on my end?
Also, can you take a screenshot of how this event is set up in your Edit Event page, so that I can try to replicate the issue myself?
Please let me know if you have any other questions in the meantime!
Happy New Year to you too!
It seems like the issue is still present after creating a new event; the event still appears in the list. I have added a screenshot, the event was only set with a title, a small line of content, and Start/End dates.
We are using the REST API to retrieve these events:
tribe_get_events( array( ‘post_type’ => ‘tribe_events’, ‘eventDisplay’ => ‘upcoming’, ‘start_date’ => date( ‘Y-m-d H:i:s’ ), ‘end_date’ => date( ‘Y-m-d H:i:s’,strtotime(“+7 days”) )
I’m sorry that you are still experiencing this timezone issue when using the REST API to retrieve your events.
Would you mind also providing me with an updated system information in a private reply using the instructions found in the following link?
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
The topic ‘List showing expired events’ is closed to new replies.