CException

Property "RWebUser.user_type_ref_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/themes/amage/views/layouts/uni_top_navigation.php(86): CWebUser->__get("user_type_ref_id")
81                 <li class="drop-submenu"><a href="javascript:void(0);" class="closed"><span class="menu-circle"><i class="icon icon-explore font-24"></i></span> <span class="menu-text">Research <span class="caret mt-2"></span></span></a>
82                     <ul class="subnav drop-menu">
83                         <?php if(!Yii::app()->user->isGuest && ($_SESSION['UserMasterAttributes']['present_class'] > 10)){ ?>
84                             <li><a href="/app/ideallist">Recommended Colleges </a> </li>
85                         <?php }  ?>
86                         <?php if(Yii::app()->user->user_type_ref_id != 13){?>
87                         <li  class="drop-submenu1"><a href="javascript:void(0);">Top Colleges <i class="fa fa-angle-right pull-right mt-2"></i></a>
88                             <ul class="innersubnav-one drop-menu1">
89                                 <li>
90                                     <div class="super-menu">
91                                         <ul>
#2
+
 /opt/Univ_pro/home/univarie/public_html/app/themes/amage/views/layouts/guest.php(332): include_once("/opt/Univ_pro/home/univarie/public_html/app/themes/amage/views/l...")
327 
328                 if(Yii::app()->session->get('isAlumniStudent') == 'Yes'){
329                     //include_once('alumni_navigation.php');
330                 }else{
331                     if((int)Yii::app()->session['domainType'] == 1){
332                          include_once('uni_top_navigation.php');
333                     }else{
334                     include_once('guest_navigation.php');
335                 }
336                 }
337             }
#6
+
 /opt/Univ_pro/home/univarie/public_html/app/protected/modules/onlineCounselling/controllers/ToolsController.php(312): CController->render("countryspecifictest", array("majorId" => 0, "countryId" => 0))
307 
308         $this->PageTitle = 'Find out Different Country Specific Admission Test - Univariety';
309         $majorId=Yii::app()->request->getparam('m',0);
310          $countryId=Yii::app()->request->getparam('c',0);
311         //echo $majorId;exit;
312         $this->render('countryspecifictest',compact('majorId','countryId'));
313     }
314     
315     public function actioncountrySpecificTestsbydept()
316     {
317         Yii::app()->theme = 'new_grid_theme';
2024-03-19 14:44:04 lighttpd/1.4.55 Yii Framework/1.1.13