Incorrect Date on some events shown on calendar widget

Home Forums Calendar Products Events Calendar PRO Incorrect Date on some events shown on calendar widget

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1020259
    Simon
    Participant

    Just installed latest updates and get some incorrect dates shown on the mini calendar widget. Any event happening today has got yesterdays date showing in a block although correct details are shown alongside. If I click todays date on the calendar it updates the display and the same events are shown but with the correct date. If I reload the page we’re back to incorrect dates being shown.
    Any suggestions please?

    #1020347
    Brian
    Member

    Hi,

    I apologize I missed something in QA and we introduced a bug here.

    You can replace the contents of this file:

    plugins/events-calendar-pro/src/functions/template-tags/widgets.php

    With the coding here:

    https://gist.githubusercontent.com/jesseeproductions/1bf79bcf1bc3de55ccee/raw/fe1b82fbedd58c55a95bcf9704cfb82e4266bdd9/widget.php

    That will fix the issue until we can release a patch.

    Let me know if that works.

    Thanks

    #1021145
    Stefano
    Participant

    Hi Brian,
    I tried to replace the file but a fatal error appears on line 23

    #1021261
    Brian
    Member

    Hi Stefano.

    Thanks for posting here. I can certainly help you here, but we can help you better if you create your own topic in the forum, where we can interact with you one on one. Also, we encourage you to post on your own topic because every time we post it will email the author of the topic.

    Having said,

    I was not able to reproduce the issue and the file works for me. Looking at line 23 it is just a bracket so I am not sure that would cause a fatal error.

    What is the exact error you get and the file name it points to? Can you verify you are editing the correct file and what are using using to edit it?

    So if you can let me know what you find out in a new topic we can help you there, but if you like you can still post what you find here.

    Thanks

    #1021305
    Simon
    Participant

    Cheers for response – Seems to be working fine now

    #1021308
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Stefano if you still need help please open your own thread and reference this one and we can go from there.

    Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Incorrect Date on some events shown on calendar widget’ is closed to new replies.