PHP notice

Undefined offset: 0

/var/www/html/site.cosmositios.com_current/protected/controllers/CarritoController.php(9378)

9366                 throw new CHttpException(403,Yii::t('app',"You don't have permission to view this page"));
9367                 Yii::app()->end();
9368             }
9369         }
9370 
9371         $vars = array();
9372         $urlManager = AMTUrlManager::checkDomain();
9373         $user = $urlManager;
9374         $this->usuario = $user;
9375         $this->subdominio = $user->subdominio;
9376         if($user !== null){
9377             //Yii::app()->theme = 'vendedor';
9378             $this->estilos_css = $user->paginasVendedor[0]["estilos_css"].$user->paginasVendedor[0]["css_avanzado"];
9379         }
9380         $vendedor = $user;
9381         $vars['vendedor'] = $vendedor;
9382         if($user == NULL){
9383             $user = Usuario::model()->findByPk(1);
9384         }
9385         $vendedor = $user;
9386         $vars['vendedor'] = $vendedor;
9387 
9388         $this->render('agregaWatchlist', $vars);
9389     }
9390     public function actionEliminarWatchlist(){

Stack Trace

#12
+
 /var/www/html/site.cosmositios.com_current/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();
14 ?>
2024-03-28 08:47:21 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40 Yii Framework/1.1.13