• Resolved soluphia

    (@soluphia)


    This morning, the time of an event differed by 6h from the event data on its Google calendar. The event time went back by 6h. It showed correctly on the day before. So, I cleared the cache and the event date got corrected on the page view but yet, the event time on the sidebar is still incorrect although it is the identical event! Can this be resolved? Thank you!

    PS: I also feel that the cache duration time does not work correctly.

    https://www.ads-software.com/plugins/google-calendar-events/

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter soluphia

    (@soluphia)

    It seems that there is an issue with listing events on the sidebar. The event times are getting changed. But why?

    Thread Starter soluphia

    (@soluphia)

    I checked the box for the simple display options instead of the event builder code and surprisingly, the time difference disappeared.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Interesting, thanks for the details I will have to look into it.

    Just for clarity sake, do you have your timezone for your WP site matching the timezone of the Google Calendar?

    Thread Starter soluphia

    (@soluphia)

    Timezones are all set correctly, Nick! Thank you for addressing this issue!

    PS: How is the progress on listings within the calendar grid?

    Plugin Contributor Nick Young

    (@nickyoung87)

    @soluphia,

    Are you still having this issue with the most recent version of the plugin (2.2.5)?

    dear Nick, all,
    I was having a similar issue, not of 6 hours, but of 2 hours.
    The configuration (bot in google calendar) and in WordPress was set in a normal way, showing Europe/Paris as timezone.

    What was appearing in the widget :
    – as of 10pm each day, the widget was considering it was changing the day..
    So the class of day was changing of colors.
    I spent some time to solve my issue in file
    /google-calendar-events/includes/class-gce-display.php line 77, where I modified from :
    $time_now = current_time( ‘timestamp’);
    to
    $time_now = current_time( ‘timestamp’, $gmt = 1 );

    And then, the class/color of day changed in normal time.
    But I don’t know if Soluphia’s issue was similar or not…
    Rgds
    Vincent

    PS : In php-calendar.php line 85, there is as well a similar function
    $time_now = current_time( ‘timestamp’ );
    but It’s wasn’t related to my issue..

    it seems I’m having a 7 hour offset — i.e. the events shown for the “current day” switch to tomorrow at about 5pm (I suspect GMT is being considered when assessing the date vs using Mountain time zone as we are defined)

    In addition: my next page/last page navigation links are mising in the group list view.

    Also, I am getting this INTERMITTENT error when accessing the site through my smartphone:
    ——–
    Fatal error: GCE_Display::get_event_days(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "GCE_Event" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /home/content/p3pnexwpnas10_data02/90/2612990/html/wp-content/plugins/google-calendar-events/includes/class-gce-display.php on line 61
    ———-
    the site is https://livingwaterunity.org. The calendar in question is in the 3rd footer of the evolve plus theme

    Thanks for your help!

    Plugin Contributor Nick Young

    (@nickyoung87)

    @vincentbray,

    Thanks for posting your detailed findings.

    @unityofcolorado,

    Do you have your timezones set correctly in both WordPress and your Calendar?

    For your intermittent issue please see this post: https://www.ads-software.com/support/topic/fatal-error-on-homepage-1

    ooops. thanks! My wordpress timezone was UTC-0.

    Plugin Contributor Nick Young

    (@nickyoung87)

    Thanks for confirming @unityofcolorado.

    Vincent I am going to look at your solution and see if it would be smart for us to add it to the plugin by default. Thanks for showing us that.

    @soluphia,

    Assuming your issue got resolved since you have not responded here in a while. If you need further assistance please let us know. I am marking this thread resolved.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Time disparity of 6h in page view versus sidebar view!’ is closed to new replies.