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/university/controllers/CourseController.php(64): CController->render("not_found", array("courseUrldata" => array("course_id" => "118671", "url_primary_key" => "bc198ed2", "course_name" => "Bachelor of Library Information Science", "uni_name" => "Panjab University", ...)))
59             $this->redirect($url);
60         } elseif ($courseUrldata['is_active'] == "N") { // if university in inactive state
61             if (Yii::app()->session['user_type_ref_id'] == 4) { // if advisor is login
62                 $previewMsg = "Course is not active.";
63             } else {
64                 $this->render('not_found', compact('courseUrldata'));
65                 Yii::app()->end();
66             }
67         }
68         $shortList = new ShortListEngine();
69         $shortListData = $shortList->getShortList();
2024-03-19 17:07:03 lighttpd/1.4.55 Yii Framework/1.1.13