Support

Home Forums Event Espresso Premium Events still display on calendar after event has ended

Events still display on calendar after event has ended

Posted: March 13, 2024 at 5:24 pm

Viewing 23 reply threads


nafujiwara

March 13, 2024 at 5:24 pm

All my events stay on the calendar until exactly 24 hours after the event endtime endtime, I’ve checked the timezone on my site and it’s set to my local timezone. How can I fix this issue? It’s been going on for a while but I would like to get it fixed as it’s a little confusing for customers.


Rio

  • Support Staff

March 13, 2024 at 8:05 pm

Hello,

You can change the filter to false. Check the article here https://eventespresso.com/wiki/events-calendar-add-on/#ee4installation

thanks


nafujiwara

March 13, 2024 at 11:30 pm

I have the Show expired set to False. It has to be a time zone thing. They dissapear properly but only after 24 hours exactly. It’s like im a day behind. The time and timezone is set correctly on wordpress and my hosting is godaddy, their time servers are automatic. I’m not sure whats causing it to not delete after and event has ended


Sam

  • Support Staff

March 14, 2024 at 1:31 am

Hi There,

Can you please share a direct link to the page with the issue?

Also, please fill out the form so that we can take a closer look at it:
https://eventespresso.com/send-login-details/


nafujiwara

March 14, 2024 at 3:41 pm

This reply has been marked as private.


Rio

  • Support Staff

March 14, 2024 at 7:09 pm

I’m trying to replicate the issue but it works fine on my end. Can you tell me what timezone are you using.
https://monosnap.com/file/hiFCHs08tBOmoHwhRMK8vGvJFVns7g

Can you also share the datetime information? The Sales date and time.

thanks


nafujiwara

March 15, 2024 at 2:06 pm

This reply has been marked as private.


Rio

  • Support Staff

March 15, 2024 at 11:58 pm

This reply has been marked as private.


nafujiwara

March 16, 2024 at 12:17 am

This reply has been marked as private.


nafujiwara

March 16, 2024 at 12:21 am

This reply has been marked as private.


Rio

  • Support Staff

March 16, 2024 at 12:51 am

This reply has been marked as private.


nafujiwara

March 23, 2024 at 3:54 pm

I’ve tried clearing the Cache via a plug in and Godaddy says I can’t clear it manually through them. Are we sure it’s a cache issue?


nafujiwara

March 24, 2024 at 4:26 pm

I’m also noticing on the registration list it shows the registration date as an hour earlier than my time zone, so it’s 3pm now and it shows they registered at 2pm.


Sam

  • Support Staff

March 25, 2024 at 2:51 am

Hi there,

That’s strange! Can you please perform troubleshooting to see if there is any conflict: https://eventespresso.com/wiki/troubleshooting-checklist/


nafujiwara

March 28, 2024 at 3:41 pm

This reply has been marked as private.


nafujiwara

March 28, 2024 at 3:43 pm

This reply has been marked as private.


nafujiwara

March 29, 2024 at 2:34 pm

This reply has been marked as private.


nafujiwara

March 29, 2024 at 8:36 pm

I wasn’t able to replicate the issue at first, but I switched to Internet explorer browser and made sure I wasn’t logged into the site, then I disabled “Allow sites to save and read cookie data (recommended)”. After that I got the “Nothing in your Event Queue”. If I enable Cookies and site data, the registration works like normal. How do I solve this issue for the random customers that are getting this error? Are they even related? This is pretty urgent as I’ve lost many sales in the past few days due to people giving up.


nafujiwara

March 29, 2024 at 10:19 pm

This reply has been marked as private.


Rio

  • Support Staff

March 30, 2024 at 12:03 am

For your calendar issue, Can you do the following?

Scroll down to Godaddy Managed WordPress Hosting
https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/

https://monosnap.com/file/AeimNiJvElGYvFsvNxsNwPufrtwZ45

thanks


nafujiwara

March 30, 2024 at 12:07 am

I’ve followed all those guides for the no cache exclusions. I’m not on managed wordpress though. I use godaddy hosting with their firewall and wordpress separately. I didn’t opt for their managed wordpress so I don’t have some of the controls like flush cache from the Admin dashboard. I am still having a serious problem with the “Nothing in your event Queue” Error. I’ve just gotten another call. it seems half of my customers are getting the error and the other half aren’t.


nafujiwara

March 30, 2024 at 12:26 am

This reply has been marked as private.


Tony

  • Support Staff

April 1, 2024 at 5:47 am

Hi there,

I’m lead support for Event Espresso and Rio has asked if I can take a look at this.

The calendar issue is usually related to either caching, a timezone setting issue, something changing the server’s timezone (WordPress, an therefor EE, expect the servers timezone to be get to UTC-0 and WP then applies an offset based on your settings) … looking at your site it looks like your using a UTC timezone:

"pretty":"UTC-7:00",

Change that to an actual location listed in the timezones, using UTC values causes weird issues, some of those aren’t even valid PHP timezone values, what did you have it set to previously?

The values being sent on the ajax request are correct, so right now I’m guessing the site was set up using the ‘wrong’ timezone and those values are now already saved within the DB for the datetimes.

The “Nothing in your Event Queue” error is almost exclusively some form of caching, I’d estimate that’s the cause at least 90% of the time, the other 10% is session issues (which actually can still relate to caching) in some form or another be it server config or other plugins causing it. EE uses a PHP session to track the requests so caching break breaks those request and if other plugins do weird and wonderful things with transients and/or sessions, that also causes it.

So, this…

I disabled “Allow sites to save and read cookie data (recommended)”. After that I got the “Nothing in your Event Queue”. If I enable Cookies and site data, the registration works like normal.

Will absolutely break registrations, PHP sessions create a session cookie so if you disable those they can’t work.

How do I solve this issue for the random customers that are getting this error? Are they even related?

Related? I can’t say. It’s hard to say what is related until we can narrow down the cause more, or reproduce to see what is happening.

I’m not getting any event queue errors on your site and it looks like you’ve covered bases with the caching exclusions (the pages for EE don’t show caching headers, which is good).

Have you recently moved to GoDaddy or always been with them? (Unfortunately we find with GoDaddy having a server/site working for years doesn’t mean GoDaddy wont come in and completely mess up the setup with no notice at all, we’ve seen it happen multiple times)

[30-Mar-2024 00:38:39 UTC] WordPress database error Unknown column ‘espresso_attendees’ ….

Something is running our WP_Query filters on a comments query, that’s ???

We made some changes to how EE handles WP_Query in version 5.0.18+ so it could be something is doing something strange with the main query that now EE runs filers on… very strange.

Do you know which request on the site causes that error to be thrown?


nafujiwara

April 1, 2024 at 4:09 pm

Thank you for responding, it’s been a hectic past couple of days. Godaddy firewall has been disabled and deleted and the “Nothing in your Event Queue” has seemingly disappeared. Because this all happened in a short time frame and Server changes usually take 24hrs to take effect, I became pretty impatient. I have always been with godaddy and it seems it’s time to switch.

For a future note on the caching subject for others, Godaddy does not cache if you don’t use their website security. If you do, they still cache your site even if they flush/clear/ and exclude pages.

Back to the timezone and events not clearing, I probably did set a UTC offset when creating the site as it’s been -7 for as long as I can remember. I can switch it back to nearest city but that doesn’t stop from the previous day from showing. In MOST cases the event expires exactly or almost exactly 24 hours after the endtime, maybe its start time. But events earlier in the day SOMETIMES delete right after when they are supposed to. As of right now two out of 3 events from yesterday expired after the event, the last one is still lingering. It’s not site breaking and really after all this investigation with no solution I’m ready to give up.

Viewing 23 reply threads

The support post ‘Events still display on calendar after event has ended’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso