Code Context $related_catagor = array();
$parent_categoryname = '';
if(!empty($categories) && $categories['CategorySubcategory'][0]['parent_id'] > 0) {
$category_id = '47'
$not_show_id = array(
(int) 0 => '44',
(int) 1 => '46',
(int) 2 => '45',
(int) 3 => '43',
(int) 4 => '47',
(int) 5 => '82'
)
$conditions = array(
(int) 0 => array(
(int) 0 => 'Product.published = '1''
),
(int) 1 => array(
'OR' => array(
'Product.id' => array(
[maximum depth reached]
)
)
)
)
$joins = array()
$filter_product_data = array()
$categoryname = 'Handmade Gifts'
$order = array()
$all_category = array(
(int) 32 => '36',
(int) 215 => '37',
(int) 0 => '47'
)
$all_product_id = array(
(int) 1542 => '1542',
(int) 12292 => '12292',
(int) 12408 => '12408',
(int) 12487 => '12487',
(int) 12435 => '12435',
(int) 11919 => '11919',
(int) 12560 => '12560',
(int) 921 => '921',
(int) 12390 => '12390',
(int) 12391 => '12391',
(int) 12582 => '12582',
(int) 12605 => '12605',
(int) 12489 => '12489',
(int) 12490 => '12490',
(int) 12491 => '12491',
(int) 12207 => '12207',
(int) 12414 => '12414',
(int) 12495 => '12495',
(int) 12493 => '12493',
(int) 12492 => '12492',
(int) 11652 => '11652',
(int) 11585 => '11585',
(int) 12561 => '12561',
(int) 12494 => '12494',
(int) 12436 => '12436',
(int) 122 => '122',
(int) 925 => '925',
(int) 11302 => '11302',
(int) 12415 => '12415',
(int) 11439 => '11439',
(int) 11595 => '11595',
(int) 12287 => '12287',
(int) 12699 => '12699',
(int) 12700 => '12700',
(int) 12701 => '12701',
(int) 12581 => '12581',
(int) 12006 => '12006',
(int) 12206 => '12206',
(int) 12208 => '12208'
)
$category = object(Category) {
name => 'Category'
hasOne => array(
'CategoryDescription' => array(
[maximum depth reached]
)
)
hasMany => array(
'CategorySubcategory' => array(
[maximum depth reached]
)
)
validate => array(
'name' => array(
[maximum depth reached]
),
'sort_order' => array(
[maximum depth reached]
),
'published' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'categories'
id => false
data => array()
schemaName => null
table => 'categories'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
plugin => null
alias => 'Category'
tableToModel => array(
'categories' => 'Category'
)
cacheQueries => false
belongsTo => array()
hasAndBelongsToMany => array()
actsAs => null
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
[protected] _schema => null
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[protected] _associations => array(
(int) 0 => 'belongsTo',
(int) 1 => 'hasOne',
(int) 2 => 'hasMany',
(int) 3 => 'hasAndBelongsToMany'
)
[protected] _insertID => null
[protected] _sourceConfigured => false
[protected] _eventManager => null
[protected] _validator => null
}
$categories = array(
'Category' => array(
'id' => '47',
'parent_id' => '0',
'slug' => null,
'name' => 'Handmade Gifts',
'published' => '1',
'sort_order' => '3',
'created' => '2016-07-05 10:45:26',
'modified' => '2021-06-26 14:27:53'
)
)
$related_catagor = array()
$parent_categoryname = ''ProductsController::product_list() - APP/Controller/ProductsController.php, line 1583
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 185
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 160
[main] - APP/webroot/index.php, line 108