[Notice] Undefined variable: nextPerformance

GET /whats-on/event/aberdeen-jazz-festival

Line 282 in /var/www/html/mysite/code/model/events/Event.php

Source

273 	{
274 		// Event information about $EventTitle" happening in $Town on $Date.Nice. Find out more and book tickets!
275 		$schedule = $this->CurrentSchedule();
276 		if($schedule) {
277 			$town = $schedule->Place()->Town;
278 			if($this->UpComingPerformances()){
279 				$nextPerformance = $this->UpComingPerformances()->first();
280 			}
281 			$date = '';
282 			if($nextPerformance) {
283 				$date = 'on ' . $nextPerformance->dbObject('DateTime')->Nice();
284 			}
285 			return sprintf('Event information about "%s" happening in %s %s. Find out more and book tickets!',
286 				$this->Title,
287 				$town,
288 				$date);

Trace

Aberdeen Jazz Festival

Aberdeen Jazz Festival

Toggle location map
This event has now passed. Visit our what's on calendar to view our current events.

A host of musicians and performers descend on the Granite City for a few days of jazz and blues, with everything from jamming and workshops, to chilled out gigs on the green and late night sessions.

You Might Also Like

x

Go to itinerary