CException

Property "Groups." is not defined.

/home2/hangars1/public_html/yii/framework/db/ar/CActiveRecord.php(145)

133      */
134     public function __get($name)
135     {
136         if(isset($this->_attributes[$name]))
137             return $this->_attributes[$name];
138         elseif(isset($this->getMetaData()->columns[$name]))
139             return null;
140         elseif(isset($this->_related[$name]))
141             return $this->_related[$name];
142         elseif(isset($this->getMetaData()->relations[$name]))
143             return $this->getRelated($name);
144         else
145             return parent::__get($name);
146     }
147 
148     /**
149      * PHP setter magic method.
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)

Stack Trace

#2
+
 /home2/hangars1/public_html/protected/views/site/products.php(24): CModel->offsetGet(null)
19 
20 
21 
22 
23 <div class="header-title">
24 <h2><?php echo $c[Yii::app()->session['lang']]; ?></h2>
25 
26 <span class="page-desc" dir="<?php echo Pages::model()->trans('dir');?>"><?php echo $c[Yii::app()->session['lang'].'Toz']; ?></span>
27 <hr style="height:1px;"/>
28 </div>
29  
#7
+
 /home2/hangars1/public_html/protected/controllers/SiteController.php(67): CController->render("products", array("cat" => "3", "model" => Products, "dataProvider" => CActiveDataProvider, "sub" => "6"))
62             }
63         
64         $dataProvider=$this->search($model,$cat,$sub,$page);
65         
66     
67         $this->render('products',array('cat'=>$cat,'model'=>$model,'dataProvider'=>$dataProvider,'sub'=>$sub));
68     }
69 
70 
71 public function actionList($cat=2,$sub=0,$page=0)
72     {
#17
+
 /home2/hangars1/public_html/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();
2024-03-28 11:08:11 Apache Yii Framework/1.1.18