PHP notice

Array to string conversion

/var/www/vhosts/znuweb/protected/views/members/list-articles.php(548)

536 $Pages[0]='<font color=#014B70>صفحات</font>';
537 $Page[0]='<font color=#014B70>صفحه</font>';
538 $Pages[1]='<font color=#014B70><em>PP.</em></font>';
539 $Page[1]='<font color=#014B70><em>P.</em></font>';
540 ///$Pages[1]='';
541 
542 /*
543  if($art['volume']!="" AND $art['volume']!=NULL AND $art['volume']!=0) 
544 {$otherdesc1.="$Volume[$langp]&nbsp;".$art['volume']."&nbsp;";} */
545 
546        /*MMMM $otherdesc1.="$Volume[$langp]&nbsp;- - -&nbsp;";   MMMM*/
547                 if($art['journal_no']!=NULL)
548 $otherdesc1.="$journal_no[$langp]&nbsp;".$art['journal_no']."&nbsp;";
549 
550        $otherdesc1.="(<font color=#014B70>".$art[$Year[$langp]]."</font>)&nbsp;";  
551        
552        if($art['page_no_end']!=NULL AND $art['page_no_end']!=$art['page_no_begin'])
553          { 
554                 if($art['page_no_begin']!=NULL) 
555                 {
556                  $otherdesc1.="$Pages[$langp]&nbsp;".$art['page_no_begin']."";
557                  $otherdesc1.="-".$art['page_no_end']."";
558                  }
559                  else 
560                  $otherdesc1.="$Page[$langp]&nbsp;".$art['page_no_end']."";

Stack Trace

#3
+
 /var/www/vhosts/znuweb/protected/views/members/view_pages_fa.php(499): CController->renderPartial("list-articles", array("model" => ZuTeachers, "lang" => "fa"))
494     
495 <?php //echo $content 
496 if ($pg=='list-articles' and $model->articlefromsamp==0)
497   $this->renderPartial($pg, array('model'=>$model, 'model2'=>$model2, 'model3'=>$model3,'lang'=>$language));
498 else if ($pg=='list-articles' and $model->articlefromsamp==1)    
499   $this->renderPartial($pg, array('model'=>$model,'lang'=>$language));
500 else
501  $this->renderPartial($pg, array('model'=>$model, 'model2'=>$model2,'lang'=>$language)); 
502  ?> 
503 
504        
#8
+
 /var/www/vhosts/znuweb/protected/controllers/MembersController.php(1402): CController->render("view_pages_fa", array("pg" => "list-articles", "model" => ZuTeachers, "lang" => "fa"))
1397 else if ($model->articlefromsamp==1)
1398 {
1399          if($lang=="en")
1400          $this->render('view_pages_en',array('pg'=>'list-articles','model'=>$model,'lang'=>$lang));
1401          else
1402          $this->render('view_pages_fa',array('pg'=>'list-articles','model'=>$model,'lang'=>$lang));
1403 }
1404     
1405 else
1406             throw new CHttpException(404,'The requested page does not exist66.');
1407     
#14
+
 /var/www/vhosts/znuweb/protected/controllers/MembersController.php(65): CFilterChain->run()
60        //   $this->layout = '//layouts/'.$qjrnltm->theme_address.'/main_'.$qjrnl->lang1.'_blank';
61          $this->layout = '//layouts/'.$qjrnltm->theme_address.'/listmembers_'.$language;
62           }
63           Yii::app()->language = Yii::app()->request->cookies['lang']->value;
64 
65         $filterChain->run();
66     }
67     
68       public function accessRules()
69     {
70         return array(
2024-12-03 21:19:46 Apache Yii Framework/1.1.14