[Notice] Trying to get property of non-object

GET /specials

Line 180 in /home/devoriginalj/public_html/mysite/code/Controllers/Specials_Controller.php

Source

171      */
172     public function GetHappyHourSetPrice()
173     {
174 	$locationItems = $this->Location()->HappyHourHolder();
175 
176 	if ($locationItems->Title) {
177         	return $this->Location()->HappyHourHolder()->HappyHourItems()->filter('IsSet', 'TRUE')->first()->SetPrice;
178 	}
179 	
180 	return $this->Location()->FeatureBook()->HappyHour()->HappyHourItems()->filter('IsSet', 'TRUE')->first()->SetPrice;
181 
182     }
183 
184     /**
185      * Get set of Specials disclaimers.
186      *

Trace

Specials | Original Joe's
locate

Specials

Monday

Tuesday

Wednesday

Thursday

Friday

Saturday

Sunday

BruNch
Saturday, Sunday & Holidays
11AM - 3PM
hAppy houR
Daily from 3PM - 6PM

$ Each

Also