[Notice] Undefined index: content

GET /parents/calendar-and-important-dates/ics/ICS_2/20211101T151500-20211101T161500?title=STFC+Year+4s

Line 900 in /var/www/vhosts/sevenfieldsprimary.org/public_html/event_calendar/code/Calendar.php

Source

891 			$START_TIMESTAMP = $parts[0];
892 			$END_TIMESTAMP = $parts[1];
893 			if(!$feed) {
894 				$URL = $announcement ? $event->Calendar()->AbsoluteLink() : $event->AbsoluteLink();
895 			}
896 			else {
897 				$URL = "";
898 			}
899 			$TITLE = $feed ? $_REQUEST['title'] : $event->Title;
900 			$CONTENT = $feed ? $_REQUEST['content'] : $event->obj('Content')->Summary();
901 			$LOCATION = $feed ? $_REQUEST['location'] : $event->Location;
902 			$this->getResponse()->addHeader('Cache-Control','private');
903 			$this->getResponse()->addHeader('Content-Description','File Transfer');
904 			$this->getResponse()->addHeader('Content-Type','text/calendar');
905 			$this->getResponse()->addHeader('Content-Transfer-Encoding','binary');
906 			if(stristr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {

Trace

GET /parents/calendar-and-important-dates/ics/ICS_2/20211101T151500-20211101T161500?title=STFC+Year+4s

[Notice] Undefined index: location

GET /parents/calendar-and-important-dates/ics/ICS_2/20211101T151500-20211101T161500?title=STFC+Year+4s

Line 901 in /var/www/vhosts/sevenfieldsprimary.org/public_html/event_calendar/code/Calendar.php

Source

892 			$END_TIMESTAMP = $parts[1];
893 			if(!$feed) {
894 				$URL = $announcement ? $event->Calendar()->AbsoluteLink() : $event->AbsoluteLink();
895 			}
896 			else {
897 				$URL = "";
898 			}
899 			$TITLE = $feed ? $_REQUEST['title'] : $event->Title;
900 			$CONTENT = $feed ? $_REQUEST['content'] : $event->obj('Content')->Summary();
901 			$LOCATION = $feed ? $_REQUEST['location'] : $event->Location;
902 			$this->getResponse()->addHeader('Cache-Control','private');
903 			$this->getResponse()->addHeader('Content-Description','File Transfer');
904 			$this->getResponse()->addHeader('Content-Type','text/calendar');
905 			$this->getResponse()->addHeader('Content-Transfer-Encoding','binary');
906 			if(stristr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {
907  				$this->getResponse()->addHeader("Content-disposition","filename=".$FILENAME."; attachment;");

Trace

BEGIN:VCALENDAR PRODID:-//www.sevenfieldsprimary.org//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT DTSTART;TZID=Europe/London:20211101T151500 DTEND;TZID=Europe/London:20211101T161500 URL: SUMMARY:STFC Year 4s LOCATION: DESCRIPTION: END:VEVENT END:VCALENDAR