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/test/controllers/IndexController.php(241): CController->render("index", array("testId" => "f9dc0a55", "initial_data" => array("meta" => array("success" => true, "code" => 200, "message" => "OK"), "data" => array("id" => 78, "title" => "International English Language Testing System", "short_title" => "IELTS", "type" => "International", ...)), "adCard" => false))
236 
237         $adResponseData = $curl->post(API_SERVER . API_VERSION . sprintf('/uni-ad?access-token=%s', Yii::app()->session->get('uniAmageApiToken', '9876543234567890')), ['ad_type' => 'exams', 'is_product' => true, 'detail_id' => $initial_data['data']['id']], [CURLOPT_SSL_VERIFYPEER => false]);
238         $adResponse = json_decode($adResponseData, true);
239         $adCard= $adResponse['data'];
240 
241         $this->render("index", compact('testId', 'initial_data', 'adCard'));
242     }
243 
244     private function _save_call_back_request($test_id, $center_id, $user, $contact_number, $time_slot){
245         $VendorRequestCallback = new VendorRequestCallback;
246         $VendorRequestCallback->user_ref_id = $user->user_id;
2024-03-19 12:33:30 lighttpd/1.4.55 Yii Framework/1.1.13