Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #1104128

    I read about this problem a while back but cannot find the post. I think it occurred around the time TEC changes query parameters

    If you look here you will see the countdown is for the event after the next event: https://www.hikingwithdean.com/

    #1105398

    Hey Dean,

    Did you upgrade to the latest version 4.5.7 of Enfold ?

    Best regards,
    Günter

    #1105417

    Yep, and TEC is up to date. It started after I migrated site to a new server. Site is on php v7.2. I was hoping it would just go away after a few events cycled through, but “top” events created post migration are being skipped

    #1106065

    Hi compudean,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1106094
    This reply has been marked as private.
    #1106417

    Hi compudean,

    Thank you, where can we see the issue?

    Best regards,
    Victoria

    #1106467

    home page, lower right — like in church demo. Its currently blank for some reason

    #1106945

    Hi compudean,

    Best regards,
    Victoria

    #1107084

    Hi Victoria

    • This reply was modified 5 years, 6 months ago by compudean.
    #1109178

    Hi compudean,

    Please deactivate all plugins, except for the Events plugin, one by one to check which one is causing this issue and let us know if this solves the problem.

    Best regards,
    Victoria

    #1111759

    When all plugins are deactivated, except TEC and APM, the issue still exists

    #1112897

    Hi,

    Sorry for the late reply.

    I tried to get access to your backend to check your settings – but could not (users not allowed to backend).

    Unable to reproduce it on my dev server – using TEC 4.9.3.2.

    Best regards,
    Günter

    #1112927

    sorry had to demote extra admins for a while. Your user has been promoted back to admin

    #1112967

    Hi,

    Thanks for opening the credentials.

    I’m not the expert for TEC, but checking our code the calls to the query for events are identical. The only possible problem I see (and what is different from my server) could be caused by timezones.

    This message is on top op the event page:

    When using The Events Calendar, we recommend that you use a geographic timezone such as “America/Los_Angeles” and avoid using a UTC timezone offset such as “UTC-7”.
    Choosing a UTC timezone for your site or individual events may cause problems when importing events or with Daylight Saving Time. Read more

    And you use “UTC-7”.

    In the events countdown we check for postmeta _EventStartDateUTC to get the first event.

    I do not want to mess around in your site – but could you try to add a new event as first to come and check what happens ?

    As a second step to locate the problem we would need to add some extra output to see what the queries return and why the first event is skipped.

    Best regards,
    Günter

    #1113021

    I had thought it may have been a tz issue and fiddled with that. The events are imported from a source (meetup.com) that uses UTC offset. If I use location (Los Angeles) the event times are 7 hours off (so is the calendar with “tomorrow” coming 7 hours early). The problem with using utc in wp is that it needs to be manually changed to utc-8 at end of daylight saving time, which I will have to do when time comes. TEC tz is set to manual.

    I’ve created a test event and still having the same issue

    #1113241

    Hi,

    Do you have a staging site where I can reproduce the problem and I can have FTP access and WP admin access to upload some modified files to check internal data values?

    Best regards,
    Günter

    #1115861
    This reply has been marked as private.
    #1116238

    Hi,

    Thanks for the staging site – and sorry for the late reply.

    I could not find a logical reason why the first event is skipped in the query – could be the offset parameter, the only difference to the upcoming event query.

    As a workaround I start the query now 4 days before (interesting that 1 day before also does not return the first event). See line 113ff in events_countdown.php of your child theme.

    As this might cause problems to other users also I will add an option for that to the core.

    Best regards,
    Günter

    #1124816

    Just reporting back. The fix worked but the module would not move to the next event until after the end time of current event. For example if an event started at 8am and ended at 1pm and another started at 9am and ended at 2pm, the 9am event would never make it as “next event.” After a few weeks, that corrected itself and end time has no effect on next event. Now the 9am event will become the next event after 8am and before 9am. Maybe it was the last tec update several days ago?

    Thanks

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.