PHP notice

Trying to get property of non-object

/home/ipqwuyjmhosting/public_html/solaodong/protected/components/Controller.php(23)

11 
12     public function init()
13     {
14         Common::setLanguage();
15         $q = Yii::app()->request->getParam('cid');
16         $model = new Donvi;
17         $info = $model->getInfo($model->getIDByTag($q));
18         $this->configs = $info;
19         Yii::app()->theme = $info['template'];
20         define('template', $info['template']);
21         define('USERFILES', '/public/userfiles/images/');
22         define('FILEUPLOAD', '/public/userfiles/files/');
23         define('theme', Yii::app()->theme->baseUrl);
24         define('baseurl', Yii::app()->request->baseUrl);
25         define('noimage', USERFILES.'no-image.png');
26         define('donvi', $q);
27         define('baseuser', baseurl.'/dvtt/'.donvi);
28         $this->keywords = $this->configs['title'];
29         $this->description = $this->configs['description'];
30     }
31 }

Stack Trace

#3
+
 /home/ipqwuyjmhosting/public_html/solaodong/public_html/index.php(15): CApplication->run()
10     defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11     $config = dirname(__FILE__).'/../protected/config/projDev.php';
12 }
13 
14 require_once($yii);
15 Yii::createWebApplication($config)->run();
2024-03-19 18:35:11 LiteSpeed Yii Framework/1.1.14