PHP notice

Trying to get property of non-object

/home/httpd/vhosts/um-dryclean.ru/httpdocs/protected/modules/catalog/controllers/front/CityController.php(100)

088             }else{
089                 $select = City::model()->find(array('order'=>'name ASC'));
090             }
091             
092             
093         }else{
094             $select = City::model()->find(array('condition'=>($id ? 'id = '.$id : ''), 'order'=>'name ASC'));
095         
096         }
097         
098         
099         
100          $this->pageTitle = $select->name. ' - химчистка и прачечная UnoMomento';
101         
102         
103         $this->render('list', array('city'=>$city, 'select'=>$select));
104     }
105     public function actionMap($id) {
106     
107         $model = CityAddress::model()->findByPk((int)$id) or $this->redirect('/');
108         
109         $cs = Yii::app()->clientScript;
110         $cs->registerCoreScript('jquery');
111         
112         echo '<html><title>Схема проезда</title><body>';

Stack Trace

#14
+
 /home/httpd/vhosts/um-dryclean.ru/httpdocs/protected/components/WebApplicationEndBehavior.php(26): CApplication->run()
21         // Attach the changeModulePaths event handler
22         // and raise it.
23         $this->onModuleCreate = array($this, 'changeModulePaths');
24         $this->onModuleCreate(new CEvent($this->owner));
25  
26         $this->owner->run(); // Run application.
27     }
28  
29     // This event should be raised when CWebApplication
30     // or CWebModule instances are being initialized.
31     public function onModuleCreate($event)
#17
+
 /home/httpd/vhosts/um-dryclean.ru/httpdocs/index.php(16): CComponent->__call("runEnd", array("front"))
11 // Remove the following lines when in production mode
12 defined('YII_DEBUG') or define('YII_DEBUG', true);
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
14  
15 require_once($yii);
16 Yii::createWebApplication($config)->runEnd('front');
17 
18 
19 
#18
+
 /home/httpd/vhosts/um-dryclean.ru/httpdocs/index.php(16): CWebApplication->runEnd("front")
11 // Remove the following lines when in production mode
12 defined('YII_DEBUG') or define('YII_DEBUG', true);
13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
14  
15 require_once($yii);
16 Yii::createWebApplication($config)->runEnd('front');
17 
18 
19 
2024-03-29 03:56:59 Apache Yii Framework/1.1.12