Support » Plugin: All-in-One Event Calendar » 2.0.9 Error in ics.php

  • Resolved Rasmataz


    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 );

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve pinged on that. Thanks.

    same issue here

    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.

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

    I would *not* recommend my fix!

    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’s forums –

    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.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘2.0.9 Error in ics.php’ is closed to new replies.