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_en.php(496): CController->renderPartial("list-articles", array("model" => ZuTeachers, "lang" => "en"))
491         
492         
493 if ($pg=='list-articles' and $model->articlefromsamp==0)
494   $this->renderPartial($pg, array('model'=>$model, 'model2'=>$model2, 'model3'=>$model3,'lang'=>$language));
495 else if ($pg=='list-articles' and $model->articlefromsamp==1)    
496   $this->renderPartial($pg, array('model'=>$model,'lang'=>$language));
497 else
498  $this->renderPartial($pg, array('model'=>$model, 'model2'=>$model2,'lang'=>$language)); 
499  
500  ?> 
501 
#8
+
 /var/www/vhosts/znuweb/protected/controllers/MembersController.php(1400): CController->render("view_pages_en", array("pg" => "list-articles", "model" => ZuTeachers, "lang" => "en"))
1395          $this->render('view_pages_fa',array('pg'=>'list-articles','model'=>$model,'model2'=>$resultArtconf,'model3'=>$resultArtjournal,'lang'=>$lang));
1396 }
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
#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-12 00:40:25 Apache Yii Framework/1.1.14