Home › Forums › Calendar Products › Events Calendar PRO › Event is shown as upcoming after the event has ended
- This topic has 7 replies, 2 voices, and was last updated 11 years, 1 month ago by
George.
-
AuthorPosts
-
December 4, 2014 at 6:53 am #907595
finaceclub
ParticipantHi
I have the upcoming events plugin activated and use some custom queries where i use the line ‘eventDisplay’ => ‘upcoming’, to display upcoming events.
Now my last event (Dec 4, 12:15 – 13:45, local time) has passed but this event is still being shown as upcoming event (local time now: 15:50).
Any idea on how to fix this?
Thanks an best regards,
TobyDecember 4, 2014 at 6:58 am #907602George
ParticipantHey Toby,
Sorry you’re having troubles here. You mention “the upcoming events plugin” in your post here – can you clarify exactly what you mean by this? If you can link to this plugin just so we know precisely what you mean, that would be very helpful.
As for your custom queries, can you post all of them, unedited or modified, into Gists at http://gist.github.com? Then, share links to these Gists so we can look at your code in detail. There could be something there at play here, and if not, it’s worth definitively ruling out.
Finally, for now: what timezone is your WordPress site set to? You can see this in Settings → General in your admin.
Thanks,
GeorgeDecember 4, 2014 at 7:15 am #907617finaceclub
ParticipantHi George
Thank you for your answer. Sorry, I’m using the upcoming events widget where i have activated the option, that the widget is hidden if there are no upcoming events. It is just below the facebook button on the front page.
Here’s the link to the two custom queries: https://gist.github.com/anonymous/e597de4c55a971060d11#file-gistfile1-txt
My time zone is Zurich, Switzerland.
Best regards,
TobyDecember 4, 2014 at 11:28 pm #908538finaceclub
ParticipantHi George
The query works now (the day after). I guess there’s something wrong with getting the end of the event which is then set to the end of the day instead of the database entry.
Hope it helps.Best regards,
TobyDecember 5, 2014 at 7:48 am #908934George
ParticipantHey Toby,
In your comment here where you mention that “the query works now (the day after)”, do you mean that the last event that was posted is now correctly not showing up in your “upcoming” queries? But if you have another event that passes, does the query still take a day do update?
Just want to be certain I clearly understand what you mean. I’m curious, do you have any caching configuration on your web server or anything that you know of? Also, even though you’ve tried deactivating your plugins, can you list what all of those plugins are? And just to be clear, have you literally tried deactivating every other plugin? And if so, did you notice any difference with this issue?
Thanks for your patience!
GeorgeDecember 6, 2014 at 10:43 am #910198finaceclub
ParticipantThis reply is private.
December 8, 2014 at 11:09 am #912067George
ParticipantHey Toby,
Thanks for the update. Keep us posted on the results of your testing! 🙂
— George
March 21, 2015 at 12:43 pm #949952George
ParticipantHello,
This issue’s been sitting here a while so I’m going to go ahead and close it for now – if other issues arise, don’t hesitate to come back and open a new ticket, and if you need to open a new ticket about the same issues you originally brought up here, please share a link to this original ticket so we can pick up where we left off.
Cheers!
George -
AuthorPosts
- The topic ‘Event is shown as upcoming after the event has ended’ is closed to new replies.
