CException

Property "EWebUser.first2TC" is not defined.

/var/www/html/oyunus/framework/web/auth/CWebUser.php(141)

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

Stack Trace

#1
+
 /var/www/html/oyunus/protected/controllers/AccountController.php(679): CWebUser->__get()
674         if (isset($_REQUEST['method']) && $_REQUEST['method'] == "verification") {
675             $userip = OyunusHelpers::getClientIP();
676             $model->country_code = OyunusHelpers::iptocountry($userip);
677             $this->render('verify-id', array('model' => $model,'layout'=>$layout));
678         } 
679         else if (Yii::app()->user->first2TC == false && Yii::app()->session['isMemberUpdate'] == true) {
680             if (Yii::app()->user->memberid != null)
681                 $model->memberid = Yii::app()->user->memberid;
682             else {
683                 $model->getMembetID();
684             }
#14
+
 /var/www/html/oyunus/index.php(79): CApplication->run()
74 //Specify how many levels of call stack should be shown in each log message
75 defined ('Yii_Trace_Level') or define('YII_TRACE_LEVEL',3);
76 
77 require_once($yii);
78 
79 Yii::createWebApplication($config)->run();
80 
81 
82 ?>
2024-03-19 10:48:11 Apache/2.4.37 (AlmaLinux) OpenSSL/1.1.1k Yii Framework/1.1.10