PHP notice

Trying to get property of non-object

/home/tvertop/swsys-web.ru/docs/themes/swsys/views/news/view.php(1)

01 <?php $this->pageTitle = $model->title . ' | ' . Yii::app()->name; ?>
02 <article class="main ym-clearfix">
03 <div class="article page">
04 <ul class="breadcrumbs">
05     <li>
06         <a href="http://swsys-web.ru">Главная страница</a>
07         <span class="divider">»</span>
08     </li>
09     <li>
10         <a href="<?= Yii::app()->createUrl('news/index');?>"><?= Yii::t('journal', 'Announcements') ?></a>
11         <span class="divider">»</span>
12     </li>
13     <li class="active">

Stack Trace

#4
+
 /home/tvertop/swsys-web.ru/docs/protected/controllers/NewsController.php(74): CController->render("view", array("model" => null))
69                 Yii::app()->cache->set("news_" . $id, $this->loadModel($id), Yii::app()->params['cacheDuration']);
70             }
71 
72             $this->render('view', array(
73                 'model' => $data,
74             ));
75         }
76 
77         /**
78          * Creates a new model.
79          * If creation is successful, the browser will be redirected to the 'view' page.
#19
+
 /home/tvertop/swsys-web.ru/docs/index.php(34): CApplication->run()
29 $current_time = explode(" ",$current_time);
30 // Складываем секунды и миллисекунды
31 $start_time = $current_time[1] + $current_time[0];
32 
33 require_once($yii);
34 Yii::createWebApplication($config)->run();
35 
36 // То же, что и в 1 части
37 $current_time = microtime();
38 $current_time = explode(" ",$current_time);
39 $current_time = $current_time[1] + $current_time[0];
2024-03-28 19:13:57 Apache/2.4.53 (Red Hat Enterprise Linux 8) PHP/5.4.45 Yii Framework/1.1.13