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

GET /about-us/news-and-events/diary-dates/ics/544/20210716T093000-20210716T

Line 380 in /var/www/vhosts/strcjmi.herts.sch.uk/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:-//www.strcjmi.herts.sch.uk//EN VERSION:2.0 METHOD:PUBLISH BEGIN:VEVENT DTSTART;TZID=America/New_York:20210716T093000 DTEND;TZID=America/New_York:20210716T URL:https://www.strcjmi.herts.sch.uk/about-us/news-and-events/diary-dates/wind-in-the-willows-at-broadway-theatre-y2-y6/ SUMMARY:Leavers' Assembly END:VEVENT END:VCALENDAR