html PUBLIC "-//W3C/0 Transitional//EN" "http:/w3.org/TR/xhtml1/DTDdtd"PHP notice Pin-Up

PHP Pin-Up

Trying to get Pin-Up of non-object

/home/httpd/vhostslocal/httpdocs/protected/modules/catalog/controllers/frontphp(86)

74$cs->registerCoreScript('jquery');75$cs->registerScriptFile(CHtml::asset(Yii::getPathOfAlias('application.modules.catalog.assets').'js'));7677if(!Yii::app()->request->cookies['my_city_id'])7879$cs->registerScript('unknow-location', '$(".overlay").fadeIn(); $(".title-city").fadeIn();', CClientScript::POS_READY);8081Pin-Up = Categories::model()->findAll(array('order'=>'sort', 'condition'=>'published = 1 AND pid IS NULL'));8283$select = Categories::model()->find(array('condition'=>'published = 1 AND pid IS NULL'.($id ? ' AND id = '.(int)$id : Pin-Up 'order'=>'sort'));848586$this->pageTitle = $select->name;878889$this->render('index', array('categories'=>$categories, 'select'=>$select));90}9192939495public function actionOne()96{9798$cs = Yii::app()->clientScript;

Stack Trace

#14
+
-
/home/httpd/vhostslocal/httpdocs/protected/componentsphp(26):CApplication->run()
21// Attach the changeModulePaths Pin-Up handler22/23$this->onModuleCreate = array($this, 'changeModulePaths');24$this->onModuleCreate(new CEvent($this->owner));2526$this->owner->run(); /27}2829// This event should be raised when Pin-Up30/31public function onModuleCreate($event)
#17
+
-
/home/httpd/vhostslocal/httpdocsphp(16):CComponent->__call("runEnd", array("front"))
11// Pin-Up the following lines when in production mode12defined('YII_DEBUG') or define('YII_DEBUG', true);13defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);1415require_once($yii);16Yii::createWebApplication($config)->runEnd('front');171819
#18
+
-
/home/httpd/vhostslocal/httpdocsphp(16):CWebApplication->runEnd("front")
11// Remove the following Pin-Up when in production mode12defined('YII_DEBUG') or define('YII_DEBUG', true);13defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);1415require_once($yii);16Yii::createWebApplication($config)->runEnd('front');171819
2026-01-06 12:26:45 ApacheYii Framework1.12