Support

Home Forums Event Espresso Premium Times on description differ from calendar view

Times on description differ from calendar view

Posted: July 27, 2022 at 10:33 am


Fireball BVB

July 27, 2022 at 10:33 am

The times that are displaying in the categories and calendar view for our events is 1 hour off what we have set for the event datetime, which is the correct time. We are repeatedly having people email about different times being displayed on the site for the same event. This has been happening for the last couple of weeks, I’ve tried to look to see if it has something to do with WordPress parent timezone but I don’t think it does.


Tony

  • Support Staff

July 28, 2022 at 8:22 am

Hi there,

Usually, when the time being output is different from what has been set it is because something on the site is calling date_default_timezone_set() and changing the server timezone (which is not how WordPress expects it to be done).

Do you have any other plugins on the site which deal with dates at all?

Can you link me to the an event I can run a couple of test registrations on so I can view this?


Fireball BVB

July 30, 2022 at 3:08 am

Hi. So, for instance for our Elite Series, the calendar view here is displaying 8am:
https://fireballbeachvolleyball.com/ukbt-tournaments-2/
And then the actual event description and time set displays 9am (which is correct):
https://fireballbeachvolleyball.com/events/fireball-london-elite-series/


Fireball BVB

August 8, 2022 at 7:51 am

Hello, any update on this please?


Joao Victor

  • Support Staff

August 9, 2022 at 6:51 pm

Hi there,

I apologize for delaying this.
I am Joao from the support team!

I accessed your event https://fireballbeachvolleyball.com/events/fireball-london-elite-series/ and the time is displayed 9 AM, not 8 AM. Could you confirm if it’s resolved?


Fireball BVB

August 10, 2022 at 7:48 am

Hello. No, it’s not resolved. We still have problems. For instance, our event:
https://fireballbeachvolleyball.com/events/fireball-northeast-series-2022/
displays 10am-7pm on the event page. But on the tournaments table view, it displays it as starting at 9am:
https://fireballbeachvolleyball.com/ukbt-tournaments-2/

We are consistently having a problem with this hour discrepancy between times that has been generating a lot of confusion for customers and a lot of extra admin for us.

Please can you advise us how to get this fixed.


Tony

  • Support Staff

August 11, 2022 at 4:31 am

Hi there,

Something on your site is changing the server’s timezone which is then throwing off the offset when displayed on the table view.

I checked this locally and recreated your event, the table view displays the correct time:

https://monosnap.com/file/vwFoMYYypGoM6ngYJjTD2zsB4dhJ8B

When compared with the single event:

https://monosnap.com/file/P5RNVpLHVuWtOnaXduNRgsfcaEZUnQ

So something is changing the timezone on the ‘normal’ page (the one loading the table view shortcode) but not on the single event output. My guess right now is something within Elementor or your site’s theme although it could be something else.

I pulled the latest version of Elementor (free) locally and tested that, again this shows the correct times:

https://monosnap.com/file/eq2uEWt9YwbvPIcpnT7scs32KjiPaz

Now it could still be elementor loading something on your site and not on mine, but personally I would start looking into the other plugins in use and see what that comes up with.

First, create a database backup for the site as it is now, just to be safe.

Note – I do not recommend skipping this if you are going to do the steps below, the database backup will get you back up and running the fastest should something go wrong. Full disclosure there have been reports of issues with the WP Health Check plugin not re-enabling plugins after troubleshooting mode has been disabled. I use the above plugin a lot for various different conflict tests and have never had any issues with it, the reports of issues have never seemed to be able to provide reproducible steps.

One way to troubleshoot this is to use the Health Check & Troubleshoot plugin:

https://wordpress.org/plugins/health-check/

That allows you to enable a ‘troubleshooting mode’ which disabled all plugins and switches the site back to a default theme, but only for the logged-in admin and not your site’s visitors.

Install the above plugin and go to Tools -> Site Health -> Troubleshooting.

It should look something like this: https://monosnap.com/file/YAPM5YRxbdoe9FJsj5hi5GGUtvc4QV

Click the Enable Troubleshoting Mode.

You will end up back as your Dashboard looking like this: https://monosnap.com/file/SeqMDqlfnnymMyOx8d4Qr56CLLXwzL

Open up your table view page in a new tab: https://fireballbeachvolleyball.com/ukbt-tournaments-2/

Note that page wont work currently and will likely look a mess, just keep the tab open, we’ll enable some plugins to fix it.

Back in your Dashboard tab, hover over the ‘Troubleshooting mode’ tab on the admin bar at the top and go to ‘Manage Active Plugins’.

At a minimum to test this you’ll need Event Espresso 4 (core) and the Table View template enabled in troubleshooting mode.

Enable those, here’s what you are looking for: https://monosnap.com/file/xjR9RozHsRPcXp3T2vLUZ82d2q5mAy

Enable EE4 core and The table view template, then refresh your ukbt tournaments page, does it show the table view? Is the time correct?

(Note at this point, forget all about formatting and how it looks, the only part we are interested in is the time output, everything else doesn’t matter)

Because you are using elementor (same for any page builder really), you may need to also enable that for the page to render correctly but what you want, is the table view template being output with the correct time showing, from there you can start to enable other plugins and switch to your normal theme to see what causes the time to change.

So if you have the table view and the time is correct, you can start troubleshooting further.

What I would do first is switch to your sites current theme OceanWP, again you can do that from the troubleshooting mode admin menu: Troubleshooting Mode -> Themes -> {Select theme}

Like so: https://monosnap.com/file/PjUqFNWTJTijmQ6ePSllVRsKoPBYR6

Switch themes, refresh the page and view the time, still correct?

If so move on to enabling the plugins you normally have active one by one whilst in troubleshooting mode, refresh tournament page between each one to find which plugin causes the time to shift, then post the name of the plugin here and I’ll take a look.

When finished, if you go to the admin bar, Troubleshooting Mode -> Disable Troubleshooting mode it will switch you back to ‘normal’.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso