Notice (8) : Undefined index: ItemCategory [APP/Controller/ProductsController.php , line 58 ]Code Context $this -> set ( 'type' , $type );
//$this->set('product_categories',$this->_getCategory());
$products = $this -> Item -> find ( 'all' ,array( 'conditions' =>array( 'Item.item_category_id' => $exist [ 'ItemCategory' ][ 'id' ]), 'order' => 'Item.created DESC' ));
$type = 'auto'
$id = 'index.html'
$automatic_categories = array(
(int) 0 => array(
'ItemCategory' => array(
'id' => '612fb23e-3940-45e6-8f74-415e67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'pneumatic actuators',
'priority' => '1',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb23e-3940-45e6-8f74-415e67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:02:54',
'modified' => '2021-09-01 17:02:54'
)
),
(int) 1 => array(
'ItemCategory' => array(
'id' => '612fb24d-bb00-4316-b2e2-43e467352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'ball valve',
'priority' => '2',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb24d-bb00-4316-b2e2-43e467352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:03:09',
'modified' => '2021-09-01 17:03:09'
)
),
(int) 2 => array(
'ItemCategory' => array(
'id' => '612fb25b-01b8-4680-b203-487f67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'pneumatic butterfly valve',
'priority' => '3',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb25b-01b8-4680-b203-487f67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:03:23',
'modified' => '2021-09-01 17:03:23'
)
),
(int) 3 => array(
'ItemCategory' => array(
'id' => '612fb2c1-1398-4c1d-b05e-49ba67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'pneumatic control valve',
'priority' => '4',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb2c1-1398-4c1d-b05e-49ba67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:05:05',
'modified' => '2021-09-01 17:05:05'
)
),
(int) 4 => array(
'ItemCategory' => array(
'id' => '612fb2d0-bf78-469f-aa0f-402f67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'solenoid valve',
'priority' => '5',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb2d0-bf78-469f-aa0f-402f67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:05:20',
'modified' => '2021-09-01 17:05:20'
)
)
)
$manual_categories = array(
(int) 0 => array(
'ItemCategory' => array(
'id' => '612f8ff1-f300-4aef-a3b2-4a1f67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'ball valve',
'priority' => '2',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612f8ff1-f300-4aef-a3b2-4a1f67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 14:36:33',
'modified' => '2021-09-03 14:16:17'
)
),
(int) 1 => array(
'ItemCategory' => array(
'id' => '612fb2f7-4444-4328-8e2c-467367352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'butterfly valve',
'priority' => '2',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb2f7-4444-4328-8e2c-467367352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:05:59',
'modified' => '2021-09-03 14:16:33'
)
),
(int) 2 => array(
'ItemCategory' => array(
'id' => '612fb30f-ef54-4acd-beb2-483c67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'gate valve',
'priority' => '3',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb30f-ef54-4acd-beb2-483c67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:06:23',
'modified' => '2021-09-03 14:16:46'
)
),
(int) 3 => array(
'ItemCategory' => array(
'id' => '612fb31c-d42c-4c88-add3-4c3267352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'globe valve',
'priority' => '5',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb31c-d42c-4c88-add3-4c3267352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:06:36',
'modified' => '2021-09-03 14:16:59'
)
),
(int) 4 => array(
'ItemCategory' => array(
'id' => '612fb32d-3d40-4ae1-afe2-45cc67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'non return valve (nrv)',
'priority' => '6',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb32d-3d40-4ae1-afe2-45cc67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:06:53',
'modified' => '2021-09-03 14:17:31'
)
),
(int) 5 => array(
'ItemCategory' => array(
'id' => '61322e98-09ac-4681-8da0-49ad67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'strainer',
'priority' => '7',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '61322e98-09ac-4681-8da0-49ad67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-03 14:18:00',
'modified' => '2021-09-03 14:18:00'
)
)
)
$exist = array() ProductsController::category() - APP/Controller/ProductsController.php, line 58
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117 Notice (8) : Trying to access array offset on value of type null [APP/Controller/ProductsController.php , line 58 ]Code Context $this -> set ( 'type' , $type );
//$this->set('product_categories',$this->_getCategory());
$products = $this -> Item -> find ( 'all' ,array( 'conditions' =>array( 'Item.item_category_id' => $exist [ 'ItemCategory' ][ 'id' ]), 'order' => 'Item.created DESC' ));
$type = 'auto'
$id = 'index.html'
$automatic_categories = array(
(int) 0 => array(
'ItemCategory' => array(
'id' => '612fb23e-3940-45e6-8f74-415e67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'pneumatic actuators',
'priority' => '1',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb23e-3940-45e6-8f74-415e67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:02:54',
'modified' => '2021-09-01 17:02:54'
)
),
(int) 1 => array(
'ItemCategory' => array(
'id' => '612fb24d-bb00-4316-b2e2-43e467352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'ball valve',
'priority' => '2',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb24d-bb00-4316-b2e2-43e467352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:03:09',
'modified' => '2021-09-01 17:03:09'
)
),
(int) 2 => array(
'ItemCategory' => array(
'id' => '612fb25b-01b8-4680-b203-487f67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'pneumatic butterfly valve',
'priority' => '3',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb25b-01b8-4680-b203-487f67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:03:23',
'modified' => '2021-09-01 17:03:23'
)
),
(int) 3 => array(
'ItemCategory' => array(
'id' => '612fb2c1-1398-4c1d-b05e-49ba67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'pneumatic control valve',
'priority' => '4',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb2c1-1398-4c1d-b05e-49ba67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:05:05',
'modified' => '2021-09-01 17:05:05'
)
),
(int) 4 => array(
'ItemCategory' => array(
'id' => '612fb2d0-bf78-469f-aa0f-402f67352bfa',
'parent_cat_id' => '5c37b18e-7354-4077-877c-1210bf642048',
'name' => 'solenoid valve',
'priority' => '5',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb2d0-bf78-469f-aa0f-402f67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:05:20',
'modified' => '2021-09-01 17:05:20'
)
)
)
$manual_categories = array(
(int) 0 => array(
'ItemCategory' => array(
'id' => '612f8ff1-f300-4aef-a3b2-4a1f67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'ball valve',
'priority' => '2',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612f8ff1-f300-4aef-a3b2-4a1f67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 14:36:33',
'modified' => '2021-09-03 14:16:17'
)
),
(int) 1 => array(
'ItemCategory' => array(
'id' => '612fb2f7-4444-4328-8e2c-467367352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'butterfly valve',
'priority' => '2',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb2f7-4444-4328-8e2c-467367352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:05:59',
'modified' => '2021-09-03 14:16:33'
)
),
(int) 2 => array(
'ItemCategory' => array(
'id' => '612fb30f-ef54-4acd-beb2-483c67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'gate valve',
'priority' => '3',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb30f-ef54-4acd-beb2-483c67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:06:23',
'modified' => '2021-09-03 14:16:46'
)
),
(int) 3 => array(
'ItemCategory' => array(
'id' => '612fb31c-d42c-4c88-add3-4c3267352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'globe valve',
'priority' => '5',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb31c-d42c-4c88-add3-4c3267352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:06:36',
'modified' => '2021-09-03 14:16:59'
)
),
(int) 4 => array(
'ItemCategory' => array(
'id' => '612fb32d-3d40-4ae1-afe2-45cc67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'non return valve (nrv)',
'priority' => '6',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '612fb32d-3d40-4ae1-afe2-45cc67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-01 17:06:53',
'modified' => '2021-09-03 14:17:31'
)
),
(int) 5 => array(
'ItemCategory' => array(
'id' => '61322e98-09ac-4681-8da0-49ad67352bfa',
'parent_cat_id' => '5c37b89a-9a30-4043-8a53-1210bf642048',
'name' => 'strainer',
'priority' => '7',
'desc' => null,
'long_description' => null,
'tags' => null,
'meta' => null,
'permalink' => null,
'file_name' => 'zodex logo Final1.png',
'file_dir' => '61322e98-09ac-4681-8da0-49ad67352bfa',
'addon_category' => '0',
'is_active' => '0',
'created' => '2021-09-03 14:18:00',
'modified' => '2021-09-03 14:18:00'
)
)
)
$exist = array() ProductsController::category() - APP/Controller/ProductsController.php, line 58
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 117