CException

Property "RWebUser.sub_id" is not defined.

/opt/Univ_pro/home/univarie/public_html/yii/framework/web/auth/CWebUser.php(140)

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

Stack Trace

#1
+
 /opt/Univ_pro/home/univarie/public_html/app/protected/modules/products/controllers/BasController.php(161): CWebUser->__get("sub_id")
156     
157     public function actionBookAnAdviceSession() {
158         Yii::app()->theme = "amage";
159         $this->layout = "//layouts/guest";
160         $this->canonicalUrl = 'https://www.univariety.com/app/products/bas/bookAnAdviceSession';
161         $this->userInfo = TblUserMaster::getUserDetails(Yii::app()->user->sub_id);
162         $this->loginId=$this->userInfo->login_ref_id;
163         $this->currentClass=$this->userInfo->present_class;
164         $testId = Yii::app()->request->getParam('settest');
165         $student_milestone = Yii::app()->request->getParam('student_milestone');
166         $student_activity = Yii::app()->request->getParam('student_activity');
#6
+
 /opt/Univ_pro/home/univarie/public_html/app/protected/modules/rights/components/RController.php(36): CFilter->filter(CFilterChain)
31     */
32     public function filterRights($filterChain)
33     {
34         $filter = new RightsFilter;
35         $filter->allowedActions = $this->allowedActions();
36         $filter->filter($filterChain);
37     }
38 
39     /**
40     * @return string the actions that are always allowed separated by commas.
41     */
#14
+
 /opt/Univ_pro/home/univarie/public_html/app/index.php(101): CApplication->run()
096 //         define('API_VERSION', 'v1');
097 //         break;
098 
099 //}
100 
101 $app->run();
2024-03-19 16:45:15 lighttpd/1.4.55 Yii Framework/1.1.13