fix for ical.php
-
one line 733 there is is check that $event_cats is not empty, but if that taxonomy has been unregistered it will return and error so a better check would be:
the-events-calendar/src/Tribe/iCal.php
if ( ! empty( $event_cats ) && !is_wp_error($event_cats)) {
$item[‘CATEGORIES’] = ‘CATEGORIES:’ . $this->html_decode( join( ‘,’, $event_cats ) );
}
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘fix for ical.php’ is closed to new replies.