PHP warning

Trying to access array offset on value of type null

/home1/pushpcqz/public_html/pushpagiri.in/themes/user/views/specialities/details.php(5)

01 <section class="subPageGallery">
02   <div class="container subHealthDeatilDivBg">
03     <div class="row">
04       <div class="col-sm-12">
05         <div class="healthDeatilDivWrapper"> <span><?=$details['title']?></span>
06         <? if(!empty($details['description'])){?>
07         <?=$details['description']?>
08         <? }else{?>
09           <i>Information on this page is being updated.Please visit this page later.</i>
10         <? }?>
11         </div>
12       </div>
13     </div>
14   </div>
15 </section>

Stack Trace

#4
+
 /home1/pushpcqz/public_html/pushpagiri.in/protected/controllers/SpecialitiesController.php(74): CController->render("details", array("details" => null))
69     {
70         $this->layout="subpage";
71         $model = new Speciality();
72         $details=$model->find(array("condition"=>"id=:id and status='1'","params" => array(":id"=>$id)));
73                 
74         $this->render("details",array('details'=>$details));
75     }
76     
77     public function actionList($id=null)
78     {
79         $this->layout="subpage";
#14
+
 /home1/pushpcqz/public_html/pushpagiri.in/index.php(12): CApplication->run()
07 defined('YII_DEBUG') or define('YII_DEBUG',true);
08 // specify how many levels of call stack should be shown in each log message
09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
13 
14 
15 
16 
2024-03-28 21:21:34 Apache Yii Framework/1.1.14