PHP notice

Trying to get property of non-object

/var/www/vhosts/znuweb/protected/views/page/services.php(831)

819         <!----logo dakhele cadre Services ---->    
820      <div class="pulup-item">
821 <div class="donationWrapper" id="donationWrapper"  style="background: #cbced0 ">
822 <h6 style="text-align: center"><strong><font color="#FFFFFF">&nbsp;</font></strong></h4>
823     
824 <div class="donationOptions">
825     <?php
826     // if ($h_entity1!=NULL)
827     // {
828     if ($model_ent_content->entity_type==1 AND $srv2==0)
829     {
830         
831 echo '<div style=text-align:left;><font color=#8E8E8D>بروزرسانی: '.Yii::app()->dateFormatter->format("d-M-y",strtotime($model_ent_content->entityContentServices->last_modify_date_Fa)).'</font></div>';
832 echo '<div style=text-align:center;><strong><font color=#3487A3>'.$model_ent_content->entityContentServices->title_fa.'</font></strong></div>';
833 
834 
835   echo ' <div class="mmcontent2"><p><strong><font color=#dd521b>معرفی:</font></strong><br>'.$model_ent_content->entityContentServices->about.'</p><p><strong><font color=#dd521b>گردش کار:</font></strong><br>'.$model_ent_content->entityContentServices->workflow.'</p>';
836   if ($model_ent_content->entityContentServices->tips!=NULL) 
837   echo '<p><strong><font color=#dd521b>برخی نکات:</font></strong><br>'.$model_ent_content->entityContentServices->tips.'</p>';
838   echo '<p><strong><font color=#dd521b>پرسش های متداول:</font></strong><br>'.$model_ent_content->entityContentServices->faq.'</p>';
839   if ($model_ent_content->entityContentServices->links!=NULL) 
840   echo '<p><strong><font color=#dd521b>پیوندهای مرتبط:</font></strong><br>'.$model_ent_content->entityContentServices->links.'</p>';
841     echo '<p><strong><font color=#dd521b>کارشناس مربوطه:</font></strong>&nbsp;'.$model_ent_content->entityContentServices->regulator.'</p>';
842   echo '</div>';
843     }

Stack Trace

#4
+
 /var/www/vhosts/znuweb/protected/controllers/PageController.php(1417): CController->render("services", array("srv2" => 1, "model_ent_fehrest" => Entities, "model_ent_content" => Entities, "lang" => "fa"))
1412  if ($model_ent_content!=NULL and $model_ent_fehrest!=NULL)
1413  {
1414  //$id=$qjrnl->entity->entityContentServices->url_view;
1415          
1416 
1417         $this->render('services',array('srv2'=>$srv2, 'model_ent_fehrest'=>$model_ent_fehrest, 'model_ent_content'=>$model_ent_content,'lang'=>$lang)); //vaghti search faal ast list bazneshsteha pas az search tekrari zaher mishavad
1418         //$this->render('manager',array('model'=>$model,'pgview'=>'faculty','activeserach'=>'0')); //vaghti search faal ast list bazneshsteha pas az search tekrari zaher mishavad
1419  }
1420        else 
1421             throw new CHttpException(404,'The requested page does not exist111.');
1422          
#18
+
 /var/www/vhosts/znuweb/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();
2024-10-22 11:03:11 Apache Yii Framework/1.1.14