PHP notice

Undefined variable: data_page

/home/kaimaitur/domains/xn--22c6ba2bed7a9ef5pe0ck.com/public_html/themes/web/views/page/category.php(3)

01 <div class="container" id="fh5co-products">
02     <div itemscope>
03     <h1 style="color: #000"  itemprop="title"><?php echo $data_page['title_page'] ?> </h1>
04                 <span class="lead text-blank" itemprop="description"><?php echo $data_page['description_page']; ?></span>
05     </div>
06 
07     <ol class="breadcrumb" class="breadcrumb" vocab="http://schema.org/" typeof="BreadcrumbList">
08         <li property="itemListElement" typeof="ListItem">
09             <a property="item" typeof="WebPage" href="<?php echo Yii::app()->homeUrl; ?>">
10                 <span property="name">หน้าแรก</span>
11             </a>
12             <meta property="position" content="1">
13         </li>
14         <li class="active" property="itemListElement" typeof="ListItem">
15             <span property="name"><?php echo $type['type_name']; ?></span>

Stack Trace

#4
+
 /home/kaimaitur/domains/xn--22c6ba2bed7a9ef5pe0ck.com/public_html/protected/controllers/frontend/PageController.php(76): CController->render("category", array("type" => PdType))
71 
72     public function actionCategory() {
73         $type = PdType::model()->findByPk($_GET['type_id']);
74         $this->pageDescription = $type['type_detail'];
75         $this->render('category', array(
76             'type' => $type
77         ));
78     }
79     public function actionCategory_list() {
80         $this->layout = 'admin_manager';
81         $type = PdType::model()->findByPk($_POST['type_id']);
#12
+
 /home/kaimaitur/domains/xn--22c6ba2bed7a9ef5pe0ck.com/public_html/protected/components/WebApplicationEndBehavior.php(25): CApplication->run()
20         // Attach the changeModulePaths event handler
21         // and raise it.
22         $this->onModuleCreate = array($this, 'changeModulePaths');
23         $this->onModuleCreate(new CEvent($this->owner));
24  
25         $this->owner->run(); // Run application.
26     }
27  
28     // This event should be raised when CWebApplication
29     // or CWebModule instances are being initialized.
30     public function onModuleCreate($event)
#14
+
 /home/kaimaitur/domains/xn--22c6ba2bed7a9ef5pe0ck.com/public_html/index.php(10): CComponent->__call("runEnd", array("frontend"))
05 // Remove the following lines when in production mode
06 defined('YII_DEBUG') or define('YII_DEBUG', true);
07 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3);
08  
09 require_once($yii);
10 Yii::createWebApplication($config)->runEnd('frontend');
2024-03-28 23:13:53 Apache/2 Yii Framework/1.1.14