Title: 2.0.9 Error in ics.php
Last modified: August 21, 2016

---

# 2.0.9 Error in ics.php

 *  Resolved [Rasmataz](https://wordpress.org/support/users/rasmataz/)
 * (@rasmataz)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/)
 * 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/](https://wordpress.org/plugins/all-in-one-event-calendar/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [cefiar](https://wordpress.org/support/users/cefiar/)
 * (@cefiar)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958847)
 * I’ve pinged Time.ly on that. Thanks.
 *  [paracleteweb](https://wordpress.org/support/users/paracleteweb/)
 * (@paracleteweb)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958912)
 * same issue here
 *  [jhowe-sgs](https://wordpress.org/support/users/jhowe-sgs/)
 * (@jhowe-sgs)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958914)
 * 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.
 *  [jhowe-sgs](https://wordpress.org/support/users/jhowe-sgs/)
 * (@jhowe-sgs)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958915)
 * Ugh. I spoke too soon. Getting the multiple instances of events again.
 * I would *not* recommend my fix!
 *  [Ben Nichols](https://wordpress.org/support/users/bnichols1707/)
 * (@bnichols1707)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958965)
 * 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/](https://time.ly/forums/topic/feed-not-refreshing/)
 *  [Ben Nichols](https://wordpress.org/support/users/bnichols1707/)
 * (@bnichols1707)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958989)
 * 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.

 * ![](https://s.w.org/plugins/geopattern-icon/all-in-one-event-calendar.svg)
 * [Timely All-in-One Events Calendar](https://wordpress.org/plugins/all-in-one-event-calendar/)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-event-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-event-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-event-calendar/reviews/)

 * 6 replies
 * 5 participants
 * Last reply from: [Ben Nichols](https://wordpress.org/support/users/bnichols1707/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/209-error-in-icsphp/#post-4958989)
 * Status: resolved