PHP notice

Trying to get property 'opf' of non-object

/home/h242236-2/npnop.ru/docs/reestrsro/protected/views/site/view.php(5)

01 <?php
02 /* @var $this SiteController */
03 /* @var $model Members */
04 
05 $this->pageTitle = $model->opf.' '.$model->name.' ('.$model->getStateOption($model->state).')';
06 
07 $dataView = array(
08     'model'=>      $model,
09     'sanctions'=>  $sanctions,
10     'auditPlans'=> $auditPlans,
11     'documents'=>  $documents,
12 );
13 
14 if(!function_exists('imagefordownload')){
15     function imagefordownload($filename)
16     {
17         $typename = substr(strrchr($filename, "."), 1);

Stack Trace

#4
+
 /home/h242236-2/npnop.ru/docs/reestrsro/protected/controllers/SiteController.php(186): CController->render("view", array("model" => null, "sanctions" => CActiveDataProvider, "auditPlans" => CActiveDataProvider, "documents" => CActiveDataProvider))
181 
182         $this->render('view',array(
183             'model'=>$model,
184             'sanctions'=>$sanctions,
185             'auditPlans'=>$auditPlans,
186             'documents'=>$documents,
187         ));
188     }
189 
190     public function actionViewpdf($id)
191     {
#14
+
 /home/h242236-2/npnop.ru/docs/reestrsro/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
14 ?>
2024-03-28 18:14:59 Apache/2.4.53 (Red Hat Enterprise Linux 8) PHP/7.3.33 Yii Framework/1.1.13