I received the following error:

Call to undefined function ical_export() in sites/all/modules/event/event.module on line 803

This occurs when clicking on the ical icon in the "List of upcoming events" block when there are no upcoming events. Looking in the code, it appears that event_calendar_ical assumes that it will find some events, in which case it calls _event_node_ical, which includes ical.inc; however, if there are no events, nothing ever includes ical.inc. Adding the following as the first line of event_calendar_ical fixes the problem:

include_once(EVENT_PATH .'/ical.inc');

I hope that helps.

Comments

japerry’s picture

Status: Active » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.