Error

[] operator not supported for strings

/var/www/vhosts/tamacho.ac.jp/httpdocs/quickcode/tamacho/protected/controllers/SiteController.php(773)

761                 if( $key || in_array($val,Yii::app()->params['registeredPath']) )
762                 {
763                     if( $key )
764                     {
765                         $_GET[$key] = $val;
766                         $key = ''; 
767                     }
768                     else
769                         $key = $val;
770                 }
771                 else
772                 {
773                     $_GET['id'][] = $val;
774                     $key = ''; 
775                 }
776             }
777             // クエリ文字列を追加
778             if( !empty($query[1]) )
779             {
780                 $url = explode("/",$query[1]);
781                 $url = explode("&",$url[0]);
782                 foreach($url as $val)
783                 if( $val )
784                 {
785                     $query_str = explode("=",$val);

Stack Trace

#0
+
 /var/www/vhosts/tamacho.ac.jp/httpdocs/quickcode/tamacho/protected/controllers/SiteController.php(457): SiteController->loadPage()
452     public function actionIndex()
453     {    
454         if( isset(Yii::app()->controller->module) && (Yii::app()->controller->module->name == 'admin') )   // 管理画面
455             return;
456             
457         $this->page = $this->loadPage();
458 
459         // check disallowed or not
460         $jump = $this->page->checkDisallowed();
461         if( $jump !== null )
462         {
#11
+
 /var/www/vhosts/tamacho.ac.jp/httpdocs/quickcode/tamacho/index.php(82): CApplication->run()
77 {
78     return ob_end_flush();
79 };
80 */
81 
82 $app->run();
2024-03-28 19:32:25 Apache Yii Framework/1.1.28