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/protected/views/common_activity_header.php(15): CWebUser->__get("user_type_ref_id")
10     $_GET['aid']=14;
11     $_GET['msno']=6;
12     $_GET['asno']=4;
13 } */
14 $obj = new ApiCurlRequest();
15 if(Yii::app()->user->user_type_ref_id == 13){
16     $activity_data = $obj->commonCurlRequest(API_VERSION."/unified_journey/parentjourney/activities", true, ["parent" => Yii::app()->session->get('loginID'), 'milestone' => $_GET['mid'], 'activity' => $_GET['aid']]);
17 
18     $nextact = $obj->commonCurlRequest(API_VERSION."/unified_journey/parentjourney/nextactivity", true, ["parent" => Yii::app()->session->get('loginID'), 'milestone' => $_GET['mid'], 'activity' => $_GET['aid'],'asno' => $_GET['asno']]);
19 
20         $nextact_mid=$nextact['data']['next']['m_id'];
#2
+
 /opt/Univ_pro/home/univarie/public_html/app/protected/views/compareCollege/getCompareCollegesNew.php(443): include("/opt/Univ_pro/home/univarie/public_html/app/protected/views/comm...")
438 <input type="hidden" name="msno" id="msno" value="<?php echo $msno;?>">
439 <input type="hidden" name="asno" id="asno" value="<?php echo $asno;?>">
440 <input type="hidden" name="current_base_url" id="current_base_url" value="compare-college">
441 
442 
443 <?php  include Yii::app()->basePath.'/views/common_activity_header.php'; ?>
444     <div id="header" class="header px-3 dark-blue py-5">
445         <div class="container pb-5">
446             <div class="row justify-content-center text-white pb-5">
447                 <div class="col-md-10 d-flex justify-content-center flex-column align-items-center">
448                     <h1 class="font-60 font-900 text-center px-4 aos-init aos-animate" data-aos="fade-down" data-aos-delay="300">Compare Colleges</h1>
#7
+
 /opt/Univ_pro/home/univarie/public_html/app/protected/controllers/CompareCollegeController.php(1097): CController->render("getCompareCollegesNew", array("compareuniversities" => array(), "cntlist" => 0, "universityData" => null, "flag" => "single", ...))
1092             'overallMarks'=>$overallMarks,
1093             'aid'         => $aid,
1094             'mid'         => $mid,
1095             'msno'         => $msno,
1096             'asno'         => $asno,
1097         ));
1098     }
1099     
1100     if(!Yii::app()->user->isGuest && Yii::app()->user->user_type_ref_id == 1){
1101         LeadSquaredHelper::getInstance(Yii::app()->user->sub_id)->pushActivity(LeadSquaredHelper::STUDENT_COMPARES_COLLEGES);
1102     }
2024-03-19 11:00:43 lighttpd/1.4.55 Yii Framework/1.1.13