CException

Не определено свойство "common\storage\Object.datasetObject".

/home/k/kirpdvorru/kd-refresh/public_html/vendor/yii/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      */
154     public function __set($name,$value)
155     {
156         if($this->setAttribute($name,$value)===false)
157         {

Stack Trace

#1
+
 /home/k/kirpdvorru/kd-refresh/public_html/frontend/controllers/ProductController.php(398): CActiveRecord->__get("datasetObject")
393 
394         $dataProvider = new CArrayDataProvider(Product::model()->findAll($criteria), array('keyField' => false));
395 
396         $this->render('item', array(
397             'product' => $this->node->objectProduct,
398             'extraParams' => $this->node->$extraDS,
399             'types' => $this->node->$extraDS->types(),
400             'dataProvider' => $dataProvider,
401             'extraDS' => $extraDS,
402             'associated' => $associated
403         ));
#5
+
 /home/k/kirpdvorru/kd-refresh/public_html/vendor/webnula/kernel/components/Controller.php(140): CController->runActionWithFilters(CInlineAction, array())
135             $actionID = reset(explode('/', trim($_GET['routeInfo'], '/')));
136         }
137 
138         // run action
139         if(($action=$this->createAction($actionID))!==null) {
140             $this->runActionWithFilters($action,$this->filters());
141         } else
142             $this->missingAction($actionID);
143     }
144     
145     /**
#9
+
 /home/k/kirpdvorru/kd-refresh/public_html/index.php(23): CApplication->run()
18 include_once('vendor/autoload.php');
19 
20 // yii base
21 require_once($yii);
22 // run web application
23 Yii::createWebApplication($config)->run();
2024-03-28 22:36:59 Apache/2.4.29 Yii Framework/1.1.15