CException

La propiedad "CWebUser"."idUser" no se encuentra definida.

/www/webfam.com.ar/htdocs/yii/framework/web/auth/CWebUser.php(146)

134 
135     /**
136      * PHP magic method.
137      * This method is overriden so that persistent states can be accessed like properties.
138      * @param string $name property name
139      * @return mixed property value
140      */
141     public function __get($name)
142     {
143         if($this->hasState($name))
144             return $this->getState($name);
145         else
146             return parent::__get($name);
147     }
148 
149     /**
150      * PHP magic method.
151      * This method is overriden so that persistent states can be set like properties.
152      * @param string $name property name
153      * @param mixed $value property value
154      */
155     public function __set($name,$value)
156     {
157         if($this->hasState($name))
158             $this->setState($name,$value);

Stack Trace

#1
+
 /www/webfam.com.ar/htdocs/sitio_nuevo/protected/modules/frontend/controllers/UsuariosController.php(1059): CWebUser->__get("idUser")
1054     {
1055 
1056         //$this->redirect(Yii::app()->createUrl('cierre-inscripcion'));
1057 
1058         //VALIDO QUE EL USUARIO ESTE HABILITADO POR LA FAM EN LA WEB - REVALIDAS - AFILIACION
1059         if(!Revalidaciones::getRevalidaByIdUsuario(Yii::app()->user->idUser))
1060             $this->redirect(Yii::app()->createUrl('error307'));
1061 
1062         $eventos = Calendario::model()->findAll(array('order'=>'fecha_calen ASC'));
1063         $modelcompetencia = new Competencias();
1064         $atleta = Atletas::model()->findByAttributes(array('usuario_id'=>Yii::app()->user->idUser));
#9
+
 /www/webfam.com.ar/htdocs/sitio_nuevo/index.php(15): CApplication->run()
10 // specify how many levels of call stack should be shown in each log message
11 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
12 
13 require_once($yii);
14 
15 Yii::createWebApplication($config)->run();
2024-03-19 06:23:42 Apache Yii Framework/1.1.14