PHP notice

Trying to get property 'dn_text' of non-object

/home/zakonbase/zakonbase.ru/protected/views/content/note.php(25)

13     </div>
14     <div class="module context">
15         <div class="head">
16             <?php $this->renderPartial('../content/card', array('aCard'=> $aCard,'is_nav'=>$is_nav,'is_note'=>$is_note));?>
17         </div>
18         <div class="header-base">
19             <div class="img-small">
20                 <img src="/img/mat/content-gerb-small.png" alt="">
21             </div>
22             <div class="context-head"><?=$aCard['title']?></div>
23         </div>
24         <div class="node">
25         <?=    $oNote->dn_text ?>
26         </div>
27 
28 
29     </div>
30     <div class="module breadc">
31         <ul class="breadcrump">
32             <li><a href="#">Главная</a></li>
33             <li class="active">Примечания</li>
34         </ul>
35     </div>
36 
37 </div>

Stack Trace

#4
+
 /home/zakonbase/zakonbase.ru/protected/controllers/ContentController.php(63): CController->render("/content/note", array("aCard" => array("id" => 184371, "title" => "ПОСТАНОВЛЕНИЕ Конституционного Су...", "ds_id" => 1, "status" => "действует", ...), "aContent" => null, "is_nav" => true, "is_note" => false, ...))
58         Yii::app()->controller->render('/content/note', array(
59                 'aCard' => $aCard,
60                 'aContent' => $aTree,
61                 'is_nav' => Content::is_nav($id),
62                 'is_note' => Content::is_note($id),
63                 'oNote' => $oNote,
64         ));
65     }
66     
67 }
#14
+
 /home/zakonbase/zakonbase.ru/www/index.php(19): CApplication->run()
14 //}
15 
16 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
17 
18 require_once($yii);
19 Yii::createWebApplication($config)->run();
2024-03-19 07:44:52 nginx/1.14.0 Yii Framework/1.1.10