CException

Не определено свойство "Goods_seo.text_col".

/var/www/jungsu/data/www/jung.su/framework/db/ar/CActiveRecord.php(143)

131      */
132     public function __get($name)
133     {
134         if(isset($this->_attributes[$name]))
135             return $this->_attributes[$name];
136         elseif(isset($this->getMetaData()->columns[$name]))
137             return null;
138         elseif(isset($this->_related[$name]))
139             return $this->_related[$name];
140         elseif(isset($this->getMetaData()->relations[$name]))
141             return $this->getRelated($name);
142         else
143             return parent::__get($name);
144     }
145 
146     /**
147      * PHP setter magic method.
148      * This method is overridden so that AR attributes can be accessed like properties.
149      * @param string $name property name
150      * @param mixed $value property value
151      */
152     public function __set($name,$value)
153     {
154         if($this->setAttribute($name,$value)===false)
155         {

Stack Trace

#2
+
 /var/www/jungsu/data/www/jung.su/protected/controllers/GoodsController.php(526): CModel->offsetGet("text_col")
521                 }
522 
523                 !empty($colorsArray) && $colors = Colors::model()->findAll(array('condition' => sprintf('`id` in (%s)', join(',', $colorsArray))));
524             }
525 
526             ArticleDataHelper::set($product, $prodSeo['text_col']);
527 
528             $this->render('tovar', array(
529                 'newtext' => $newtext,
530                 'product' => $product,
531                 'colors' => $colors,
#17
+
 /var/www/jungsu/data/www/jung.su/index.php(61): CApplication->run()
56 // remove the following line when in production mode
57 defined('YII_DEBUG') or define('YII_DEBUG',true);
58 
59 ob_start();
60 require_once($yii);
61 Yii::createWebApplication($config)->run();
62 $res = ob_get_clean();
63 if(!isset($_SERVER['HTTP_X_REQUESTED_WITH']) || $_SERVER['HTTP_X_REQUESTED_WITH'] !== 'XMLHttpRequest'){
64 
65     $prepareData = true;
66 
2024-03-19 05:05:20 Apache/2.4.41 (Ubuntu) Yii Framework/1.1.13