PHP Error

Description

Trying to get property of non-object

Source File

/home/data/web/vhosts/saxophone.org/protected/controllers/CalendarEntryController.php(284)

00272:             //'location' => $location,
00273:             'SearchLocation' => $SearchLocation,
00274:         ));
00275:     }
00276: 
00277:     public function actionView()
00278:     {
00279:         $this->layout = 'museum';
00280:         $CalendarEntry = CalendarEntry::model()->findByPk((int)$_GET['event']);
00281:         
00282:         $this->breadcrumbs = array(
00283:             'Events Calendar' => '/calendar',
00284: 'View ' . $CalendarEntry->title,
00285: ); 00286: 00287: $this->pageTitle = $CalendarEntry->title." | Saxophone.org"; 00288: $this->render('view',array( 00289: 'CalendarEntry' => $CalendarEntry, 00290: )); 00291: } 00292: 00293: public function loadModel() 00294: { 00295: if($this->_model===null) 00296: {

Stack Trace

#0 /home/data/web/vhosts/saxophone.org/framework/web/actions/CInlineAction.php(32): CalendarEntryController->actionView()
#1 /home/data/web/vhosts/saxophone.org/framework/web/CController.php(300): CInlineAction->run()
#2 /home/data/web/vhosts/saxophone.org/framework/web/filters/CFilterChain.php(129): CalendarEntryController->runAction()
#3 /home/data/web/vhosts/saxophone.org/framework/web/filters/CFilter.php(41): CFilterChain->run()
#4 /home/data/web/vhosts/saxophone.org/protected/components/Controller.php(281): CheckActiveUserFilter->filter()
#5 /home/data/web/vhosts/saxophone.org/framework/web/filters/CInlineFilter.php(59): CalendarEntryController->filterCheckActiveUser()
#6 /home/data/web/vhosts/saxophone.org/framework/web/filters/CFilterChain.php(126): CInlineFilter->filter()
#7 /home/data/web/vhosts/saxophone.org/framework/web/filters/CFilter.php(41): CFilterChain->run()
#8 /home/data/web/vhosts/saxophone.org/protected/components/Controller.php(287): UserFilter->filter()
#9 /home/data/web/vhosts/saxophone.org/framework/web/filters/CInlineFilter.php(59): CalendarEntryController->filterUserFilter()
#10 /home/data/web/vhosts/saxophone.org/framework/web/filters/CFilterChain.php(126): CInlineFilter->filter()
#11 /home/data/web/vhosts/saxophone.org/framework/web/CController.php(283): CFilterChain->run()
#12 /home/data/web/vhosts/saxophone.org/framework/web/CController.php(257): CalendarEntryController->runActionWithFilters()
#13 /home/data/web/vhosts/saxophone.org/framework/web/CWebApplication.php(324): CalendarEntryController->run()
#14 /home/data/web/vhosts/saxophone.org/framework/web/CWebApplication.php(121): WebApplication->runController()
#15 /home/data/web/vhosts/saxophone.org/framework/base/CApplication.php(135): WebApplication->processRequest()
#16 /home/data/web/vhosts/saxophone.org/index.php(36): WebApplication->run()
2024-03-29 00:16:34 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40 Yii Framework/1.1.3