Code Context $related_catagor = array();
$parent_categoryname = '';
if(!empty($categories) && $categories['CategorySubcategory'][0]['parent_id'] > 0) {
$category_id = '43'
$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 = 'Wooden Handicrafts'
$order = array()
$all_category = array(
(int) 16 => '6',
(int) 17 => '4',
(int) 19 => '14',
(int) 36 => '13',
(int) 42 => '26',
(int) 89 => '73',
(int) 93 => '74',
(int) 218 => '12',
(int) 224 => '21',
(int) 345 => '15',
(int) 0 => '43'
)
$all_product_id = array(
(int) 11465 => '11465',
(int) 610 => '610',
(int) 11464 => '11464',
(int) 11459 => '11459',
(int) 11460 => '11460',
(int) 11733 => '11733',
(int) 11606 => '11606',
(int) 384 => '384',
(int) 484 => '484',
(int) 552 => '552',
(int) 11763 => '11763',
(int) 12484 => '12484',
(int) 12522 => '12522',
(int) 12540 => '12540',
(int) 12515 => '12515',
(int) 12517 => '12517',
(int) 12516 => '12516',
(int) 12552 => '12552',
(int) 12513 => '12513',
(int) 12514 => '12514',
(int) 136 => '136',
(int) 11821 => '11821',
(int) 1060 => '1060',
(int) 868 => '868',
(int) 12618 => '12618',
(int) 12126 => '12126',
(int) 12580 => '12580',
(int) 142 => '142',
(int) 11642 => '11642',
(int) 1032 => '1032',
(int) 1031 => '1031',
(int) 297 => '297',
(int) 12125 => '12125',
(int) 661 => '661',
(int) 866 => '866',
(int) 11706 => '11706',
(int) 11729 => '11729',
(int) 11725 => '11725',
(int) 321 => '321',
(int) 660 => '660',
(int) 11638 => '11638',
(int) 141 => '141',
(int) 855 => '855',
(int) 11637 => '11637',
(int) 864 => '864',
(int) 146 => '146',
(int) 328 => '328',
(int) 12243 => '12243',
(int) 12386 => '12386',
(int) 11764 => '11764',
(int) 11779 => '11779',
(int) 11767 => '11767',
(int) 12385 => '12385',
(int) 12512 => '12512',
(int) 12589 => '12589',
(int) 12521 => '12521',
(int) 11898 => '11898',
(int) 11643 => '11643',
(int) 12519 => '12519',
(int) 12520 => '12520',
(int) 658 => '658',
(int) 865 => '865',
(int) 329 => '329',
(int) 483 => '483',
(int) 11743 => '11743',
(int) 643 => '643',
(int) 1050 => '1050',
(int) 11258 => '11258',
(int) 11259 => '11259',
(int) 867 => '867',
(int) 12242 => '12242',
(int) 11466 => '11466',
(int) 11811 => '11811',
(int) 11810 => '11810',
(int) 11812 => '11812',
(int) 11809 => '11809',
(int) 11808 => '11808',
(int) 11762 => '11762',
(int) 11766 => '11766',
(int) 11765 => '11765',
(int) 11741 => '11741',
(int) 11728 => '11728',
(int) 11621 => '11621',
(int) 11636 => '11636',
(int) 11639 => '11639',
(int) 11742 => '11742',
(int) 11368 => '11368',
(int) 11653 => '11653',
(int) 12617 => '12617',
(int) 457 => '457',
(int) 143 => '143',
(int) 145 => '145',
(int) 863 => '863'
)
$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' => '43',
'parent_id' => '0',
'slug' => null,
'name' => 'Wooden Handicrafts',
'published' => '1',
'sort_order' => '7',
'created' => '2016-07-05 10:37:18',
'modified' => '2019-09-19 11:23:23'
)
)
$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