Notice (8) : Undefined index: Category [APP/Controller/ProductsCategoriesController.php , line 22 ]Code Context $categoryAlias = $this -> params [ 'category' ];
$category = $this -> Category -> getCategoryByAlias ( $categoryAlias );
$listIdArticles = $this -> ProductsCategorie -> find ( 'all' , array( 'conditions' => array( 'categories_id' => $category [ 'Category' ][ 'id' ])));
$page = (int) 1
$categoryAlias = 'thuc-pham-che-bien'
$category = array() ProductsCategoriesController::index() - APP/Controller/ProductsCategoriesController.php, line 22
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 475
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 169
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 137
[main] - APP/webroot/index.php, line 93 Notice (8) : Undefined index: Category [APP/Controller/ProductsCategoriesController.php , line 67 ]Code Context $menus = parent :: menu ( 'menu-san-pham' );
$this -> set (array(
'title_for_layout' => $category [ 'Category' ][ 'title' ],
$page = (int) 1
$categoryAlias = 'thuc-pham-che-bien'
$category = array()
$listIdArticles = array()
$products = array()
$menus = array(
(int) 0 => array(
'Menu' => array(
'id' => '15',
'name' => 'collagen-82x',
'url' => '/san-pham/collagen-82x.html',
'alias' => 'thi-truong',
'parent_id' => '51',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 1 => array(
'Menu' => array(
'id' => '18',
'name' => 'Nam',
'url' => '/nam.html',
'alias' => 'nam',
'parent_id' => '17',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 2 => array(
'Menu' => array(
'id' => '20',
'name' => 'Vest',
'url' => '/san-pham/ao-vest',
'alias' => 'ao-so-mi',
'parent_id' => '18',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Menu' => array(
'id' => '21',
'name' => 'Áo Jacket',
'url' => '/san-pham/ao-khoac',
'alias' => 'ao-khoac',
'parent_id' => '18',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 4 => array(
'Menu' => array(
'id' => '22',
'name' => 'Quần',
'url' => '/san-pham/quan',
'alias' => 'quan',
'parent_id' => '18',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 5 => array(
'Menu' => array(
'id' => '23',
'name' => 'Nữ',
'url' => '/san-pham/nu',
'alias' => 'nu',
'parent_id' => '17',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 6 => array(
'Menu' => array(
'id' => '35',
'name' => 'Áo choàng',
'url' => '/san-pham/ao-choang',
'alias' => 'ao-choang',
'parent_id' => '18',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 7 => array(
'Menu' => array(
'id' => '36',
'name' => 'Trẻ em',
'url' => '/san-pham/children',
'alias' => 'children',
'parent_id' => '17',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 8 => array(
'Menu' => array(
'id' => '37',
'name' => 'Đồng phục',
'url' => '/san-pham/uniform',
'alias' => 'uniform',
'parent_id' => '17',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 9 => array(
'Menu' => array(
'id' => '122',
'name' => 'Khoáng Tươi Viba',
'url' => '/san-pham/khoang-tuoi-viba.html',
'alias' => 'khoang-tuoi-viba',
'parent_id' => '121',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 10 => array(
'Menu' => array(
'id' => '128',
'name' => 'Nước hoa nam nữ chính hãng',
'url' => '/san-pham/nuoc-hoa-nam-nu-chinh-hang.html',
'alias' => 'nuoc-hoa-nam-nu-chinh-hang',
'parent_id' => '4',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 11 => array(
'Menu' => array(
'id' => '132',
'name' => 'Collagen 82X',
'url' => 'san-pham/collgen-82x.html',
'alias' => 'collagen-82x',
'parent_id' => '131',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 12 => array(
'Menu' => array(
'id' => '133',
'name' => 'Ẩm Thực ',
'url' => '/san-pham/am-thuc.html',
'alias' => 'am-thuc',
'parent_id' => '0',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '0',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 13 => array(
'Menu' => array(
'id' => '72',
'name' => 'Khay xốp – khay nhựa',
'url' => '/san-pham/khay-xop-khay-nhua.html',
'alias' => 'khay-xop-khay-nhua',
'parent_id' => '15',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '1',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 14 => array(
'Menu' => array(
'id' => '75',
'name' => 'Các loại hạt trồng rau',
'url' => '/san-pham/cac-loai-hat-trong-rau.html',
'alias' => 'cac-loai-hat-trong-rau',
'parent_id' => '4',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '1',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 15 => array(
'Menu' => array(
'id' => '73',
'name' => 'Phân bón cao cấp',
'url' => '/san-pham/phan-bon-cao-cap.html',
'alias' => 'phan-bon-cao-cap',
'parent_id' => '15',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '2',
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 16 => array(
'Menu' => array(
'id' => '79',
'name' => 'Mỹ Phẩm ',
'url' => '/san-pham/my-pham.html',
'alias' => 'thiet-bi-phu-tro-trong-rau',
'parent_id' => '79',
'groups_menu' => '6',
'lft' => '0',
'rght' => '0',
'status' => true,
'menu_order' => '2',
(int) 0 => array(
[maximum depth reached]
)
)
)
) ProductsCategoriesController::index() - APP/Controller/ProductsCategoriesController.php, line 67
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 475
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 169
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 137
[main] - APP/webroot/index.php, line 93
ProductsCategories