[User Warning] Cache-Control header has already been set. Please use HTTPCacheControl API to set caching options instead.

GET /news-and-events/calendar/ics/announcement-315/20240624T190000-20240624T200000

Line 380 in /data/sites/home/stjoachims/public_html/framework/control/HTTP.php

Source

371 		if(headers_sent() && !$body) {
372 			return;
373 		}
374 
375 		// Warn if already assigned cache-control headers
376 		if ($body && $body->getHeader('Cache-Control')) {
377 			trigger_error(
378 				'Cache-Control header has already been set. '
379 				. 'Please use HTTPCacheControl API to set caching options instead.',
380 				E_USER_WARNING
381 			);
382 			return;
383 		}
384 
385 		$config = Config::inst()->forClass(__CLASS__);
386 

Trace

BEGIN:VCALENDAR PRODID:-//st-joachims.newham.sch.uk//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT DTSTART;TZID=Europe/London:20240624T190000 DTEND;TZID=Europe/London:20240624T200000 URL:https://st-joachims.newham.sch.uk/news-and-events/calendar/ SUMMARY:Festival of Voices - Y4 Hackney Empire END:VEVENT END:VCALENDAR