CException

Property "ASPlatformReloadalipayArModel.timestamp" is not defined.

/var/www/lumahgo_delivery_live/src/protected/framework/db/ar/CActiveRecord.php(162)

150      * This method is overridden so that AR attributes can be accessed like properties.
151      * @param string $name property name
152      * @param mixed $value property value
153      * @throws CException
154      */
155     public function __set($name,$value)
156     {
157         if($this->setAttribute($name,$value)===false)
158         {
159             if(isset($this->getMetaData()->relations[$name]))
160                 $this->_related[$name]=$value;
161             else
162                 parent::__set($name,$value);
163         }
164     }
165 
166     /**
167      * Checks if a property value is null.
168      * This method overrides the parent implementation by checking
169      * if the named attribute is null or not.
170      * @param string $name the property name or the event name
171      * @return boolean whether the property value is null
172      */
173     public function __isset($name)
174     {

Stack Trace

#1
+
 /var/www/lumahgo_delivery_live/src/protected/modules/frontend/controllers/ReloadAlipayController.php(48): CActiveRecord->__set("timestamp", "2024-03-29 05:59:03")
43         $this->pageTitle = Tools::getSiteName() . ' | '.Yii::t('frontend','alipay recharge');
44         $this->navSubTitle = "alipay_reload";
45 
46         $model = new ASPlatformReloadalipayArModel;
47         $model->f_date = date('Y-m-d');
48         $model->timestamp = date('Y-m-d H:i:s');
49         $model->exchange_rate = Config::model()->find(array('condition' => 'code=:rate', 'params' => array(':rate' => "alipay_rate")))->value;
50         $model->customer_id = Yii::app()->user->id;
51 
52         // Uncomment the following line if AJAX validation is needed
53         // $this->performAjaxValidation($model);
#10
+
 /var/www/lumahgo_delivery_live/src/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
14 
2024-03-29 05:59:03 Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.1.33 Yii Framework/1.1.20