-            
« Trước Tiếp »
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 27]Code Context//lấy id catproduct theo alias
$getId = $this->Catproduct->findAllByAlias($alias);
$this->set('title_for_layout', $getId[0]["Catproduct"]["title_seo"]);
$alias = null $getId = array()ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 27 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 28]Code Context$getId = $this->Catproduct->findAllByAlias($alias);
$this->set('title_for_layout', $getId[0]["Catproduct"]["title_seo"]);
$this->set('keywords_for_layout', $getId[0]["Catproduct"]['meta_key']);
$alias = null $getId = array()ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 28 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 29]Code Context$this->set('title_for_layout', $getId[0]["Catproduct"]["title_seo"]);
$this->set('keywords_for_layout', $getId[0]["Catproduct"]['meta_key']);
$this->set('description_for_layout', $getId[0]["Catproduct"]['meta_des']);
$alias = null $getId = array()ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 29 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 31]Code Context$this->set('description_for_layout', $getId[0]["Catproduct"]['meta_des']);
$this->set("catProductName", $getId[0]["Catproduct"]["name"]);
$alias = null $getId = array()ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 31 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 92
Notice (8): Undefined offset: 0 [APP/Plugin/Product/Controller/ProductController.php, line 32]Code Context
$this->set("catProductName", $getId[0]["Catproduct"]["name"]);
$id = $getId[0]["Catproduct"]["id"];
$alias = null $getId = array()ProductController::index() - APP/Plugin/Product/Controller/ProductController.php, line 32 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 92