Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Not sure of the impact of these log entries but having problems with Feeds duplicating events from an Office 365 iCal feed.
Warning: array_combine(): Both parameters should have an equal number of elements in date_ical_feeds_set_rrule() (line 285 of .../sites/all/modules/date_ical/date_ical.module).
Notice: Undefined offset: 1 in _date_ical_parse_repeat_rule() (line 138 of .../sites/all/modules/date_ical/date_ical.utils.inc).
Comments
Comment #2
coredumperror CreditAttribution: coredumperror commentedCould you please provide an example of an iCal file that is causing these errors? My best guess is that Office365 may be formatting repeat rules in an unexpected way. This is par for the course with Microsoft and iCal...
Comment #3
mjkovacevich CreditAttribution: mjkovacevich as a volunteer commentedThis is the URL supplying the iCal feed:
http://outlook.office365.com/owa/calendar/parish-calendar@stmarywithstal...
Comment #4
coredumperror CreditAttribution: coredumperror commentedAlright, I'll take a look and see if I can find out why this is happening with that feed.
Comment #6
coredumperror CreditAttribution: coredumperror commentedThank you for pointing this out! Upon inspection, I discovered a rather embarrassing bug in Date iCal's RRULE parsing code, which I hadn't previously noticed because it only triggers silently (thanks soooo much for hiding that from me, PHP!), and only happens when using the newest versions of the Feeds module. The RRULE parsing code was accidentally being executed on events with no RRULE, which is what was triggering that warning and issue on each event.
This is now fixed in the newest dev release of Date iCal.