Code Context $related_catagor = array();
$parent_categoryname = '';
if(!empty($categories) && $categories['CategorySubcategory'][0]['parent_id'] > 0) {
$category_id = '66'
$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(
'ProductCategory.category_id' => '66'
)
)
$joins = array(
(int) 0 => 'LEFT JOIN seo_product_categories as ProductCategory ON Product.id =
ProductCategory.product_id'
)
$filter_product_data = array()
$categoryname = 'Paper Cutters '
$order = array()
$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' => '66',
'parent_id' => '0',
'slug' => null,
'name' => 'Paper Cutters ',
'published' => '1',
'sort_order' => '12',
'created' => '2016-07-16 04:39:40',
'modified' => '2019-08-20 07:53:31'
)
)
$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