Code Context
$selectedCity_details = $this->City->findByName(strtolower($selectedCity));
$category_available = $this->ItemCategoryCity->find('first',array('conditions'=>array('ItemCategoryCity.item_category_id'=>$selectedCategory['ItemCategory']['id'],'ItemCategoryCity.city_id'=>$selectedCity_details['City']['id'],'ItemCategory.addon_category'=>0)));
$category_name = 'cakes'
$city = '55f8278b-9cc0-4f94-a66b-3460bf642048'
$selectedCity = '55f8278b-9cc0-4f94-a66b-3460bf642048'
$selectedCategory = array(
'ItemCategory' => array(
'id' => '55f8278b-9cc0-4f94-a66b-3460bf642048',
'name' => 'Cakes',
'category_group_id' => null,
'priority' => '1',
'max_qty' => '-1',
'item_type_id' => 'f132fe4d-68f7-11e5-859e-f23c91737a7d',
'parent_name_alias' => 'cakes',
'desc' => '',
'long_description' => null,
'item_category_id' => null,
'tags' => '',
'meta' => '',
'permalink' => null,
'primary_photo' => 'cakes.PNG',
'primary_photo_dir' => '55f8278b-9cc0-4f94-a66b-3460bf642048',
'category_banner' => '2.jpg',
'category_banner_dir' => '55f8278b-9cc0-4f94-a66b-3460bf642048',
'addon_category' => '0',
'is_active' => '0',
'created' => '2015-09-15 19:43:31',
'modified' => '2021-10-27 17:12:04'
)
)
$selectedCity_details = array()
ItemsController::category() - APP/Controller/ItemsController.php, line 188
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 118