WordPress.org

Forums

All-in-One Event Calendar
[resolved] 2.0.9 Error in ics.php (7 posts)

  1. Rasmataz
    Member
    Posted 1 year ago #

    After upgrade from ? to 2.0.9, error in ics.php

    All-in-One Event Calendar: Undefined variable: xguard @ []/wp-content/plugins/all-in-one-event-calendar/lib/calendar-feed/ics.php:287 #8
    PHP Fatal error: Call to a member function release() on a non-object in []/wp-content/plugins/all-in-one-event-calendar/lib/calendar-feed/ics.php on line 287

    Line 287: $xguard->release ( $guard_name );
    should probably be: $this->_xguard->release( $cron_name );

    https://wordpress.org/plugins/all-in-one-event-calendar/

  2. cefiar
    Member
    Posted 1 year ago #

    I've pinged Time.ly on that. Thanks.

  3. paracleteweb
    Member
    Posted 1 year ago #

    same issue here

  4. jhowe-sgs
    Member
    Posted 1 year ago #

    I commented out line 287 since the _xguard locks exist already in the update_ics_feed function. That seems to have suppressed the numerous errors in my syslog.

    However, while lib 287 was in effect, every sync caused multiple instances of events. We do hourly syncing, so that got messy real quick.

    I had to delete all feeds and refresh. This is rather tedious when we have 8-10 feeds per grade level site.

    It would be nice to have a refresh all option instead of clicking on each feed individually.

    I am still on the fence about the 2.x tree. I may roll back to 1.10.9.

  5. jhowe-sgs
    Member
    Posted 1 year ago #

    Ugh. I spoke too soon. Getting the multiple instances of events again.

    I would *not* recommend my fix!

  6. Ben Nichols
    Member
    Posted 1 year ago #

    It seems I have a similar issue as well - multiple instances of events are appearing under incorrect categories.
    Feeds refresh hourly. When all feeds removed and re-added, manual refresh only loads the correct instance of the event. The next auto-refresh then creates multiple instances under different categories.

    More details can be found on Time.ly's forums - https://time.ly/forums/topic/feed-not-refreshing/

  7. Ben Nichols
    Member
    Posted 1 year ago #

    2.0.11 was released in the last 24 hours - this fixes the Problem.

    Fixed issue where incorrectly recognized unique identifiers (UIDs) from ICS feeds caused the creation of duplicate events.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic