Cake\ORM\Query Object
(
[(help)] => This is a Query object, to get the results execute or iterate it.
[sql] => SELECT Category.section_id AS `Category__section_id`, Category.title AS `Category__title`, Category.controller AS `Category__controller`, Category.level AS `Category__level`, Category.slug AS `Category__slug`, Category.action AS `Category__action`, Category.id AS `Category__id` FROM category Category WHERE (Category.status = :c0 AND Category.parent_id = :c1) ORDER BY Category.sort_order asc
[params] => Array
(
[:c0] => Array
(
[value] => Active
[type] => string
[placeholder] => c0
)
[:c1] => Array
(
[value] => 0
[type] => biginteger
[placeholder] => c1
)
)
[defaultTypes] => Array
(
[Category__id] => biginteger
[Category.id] => biginteger
[id] => biginteger
[Category__parent_id] => biginteger
[Category.parent_id] => biginteger
[parent_id] => biginteger
[Category__title] => string
[Category.title] => string
[title] => string
[Category__description] => text
[Category.description] => text
[description] => text
[Category__meta_title] => text
[Category.meta_title] => text
[meta_title] => text
[Category__meta_keyword] => text
[Category.meta_keyword] => text
[meta_keyword] => text
[Category__meta_description] => text
[Category.meta_description] => text
[meta_description] => text
[Category__level] => integer
[Category.level] => integer
[level] => integer
[Category__image] => string
[Category.image] => string
[image] => string
[Category__background_image] => string
[Category.background_image] => string
[background_image] => string
[Category__sort_order] => integer
[Category.sort_order] => integer
[sort_order] => integer
[Category__display_home] => string
[Category.display_home] => string
[display_home] => string
[Category__status] => string
[Category.status] => string
[status] => string
[Category__section_id] => string
[Category.section_id] => string
[section_id] => string
[Category__controller] => string
[Category.controller] => string
[controller] => string
[Category__action] => string
[Category.action] => string
[action] => string
[Category__slug] => string
[Category.slug] => string
[slug] => string
[Category__created] => datetime
[Category.created] => datetime
[created] => datetime
[Category__updated] => datetime
[Category.updated] => datetime
[updated] => datetime
)
[decorators] => 0
[executed] =>
[hydrate] => 1
[buffered] => 1
[formatters] => 0
[mapReducers] => 0
[contain] => Array
(
)
[matching] => Array
(
)
[extraOptions] => Array
(
)
[repository] => Cake\ORM\Table Object
(
[registryAlias] => Category
[table] => category
[alias] => Category
[entityClass] => Cake\ORM\Entity
[associations] => Array
(
)
[behaviors] => Array
(
)
[defaultConnection] => default
[connectionName] => default
)
)
Warning (2) : count(): Parameter must be an array or an object that implements Countable [APP/View/Helper/CommonHelper.php , line 454 ]Code Context echo "<pre>" ; print_r ( $parents );
if( count ( $parents )> 0 ){
$p = 1 ;
$cat_id = ''
$currentAction = 'home'
$currentController = 'Destinations'
$menu = ''
$destinationFooter = ''
$ExpFooter = ''
$HomeLeftNavBar = ''
$parents = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Category.section_id AS `Category__section_id`, Category.title AS `Category__title`, Category.controller AS `Category__controller`, Category.level AS `Category__level`, Category.slug AS `Category__slug`, Category.action AS `Category__action`, Category.id AS `Category__id` FROM category Category WHERE (Category.status = :c0 AND Category.parent_id = :c1) ORDER BY Category.sort_order asc',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Category__id' => 'biginteger',
'Category.id' => 'biginteger',
'id' => 'biginteger',
'Category__parent_id' => 'biginteger',
'Category.parent_id' => 'biginteger',
'parent_id' => 'biginteger',
'Category__title' => 'string',
'Category.title' => 'string',
'title' => 'string',
'Category__description' => 'text',
'Category.description' => 'text',
'description' => 'text',
'Category__meta_title' => 'text',
'Category.meta_title' => 'text',
'meta_title' => 'text',
'Category__meta_keyword' => 'text',
'Category.meta_keyword' => 'text',
'meta_keyword' => 'text',
'Category__meta_description' => 'text',
'Category.meta_description' => 'text',
'meta_description' => 'text',
'Category__level' => 'integer',
'Category.level' => 'integer',
'level' => 'integer',
'Category__image' => 'string',
'Category.image' => 'string',
'image' => 'string',
'Category__background_image' => 'string',
'Category.background_image' => 'string',
'background_image' => 'string',
'Category__sort_order' => 'integer',
'Category.sort_order' => 'integer',
'sort_order' => 'integer',
'Category__display_home' => 'string',
'Category.display_home' => 'string',
'display_home' => 'string',
'Category__status' => 'string',
'Category.status' => 'string',
'status' => 'string',
'Category__section_id' => 'string',
'Category.section_id' => 'string',
'section_id' => 'string',
'Category__controller' => 'string',
'Category.controller' => 'string',
'controller' => 'string',
'Category__action' => 'string',
'Category.action' => 'string',
'action' => 'string',
'Category__slug' => 'string',
'Category.slug' => 'string',
'slug' => 'string',
'Category__created' => 'datetime',
'Category.created' => 'datetime',
'created' => 'datetime',
'Category__updated' => 'datetime',
'Category.updated' => 'datetime',
'updated' => 'datetime'
],
'decorators' => (int) 0,
'executed' => false,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [],
'matching' => [],
'extraOptions' => [],
'repository' => object(Cake\ORM\Table) {}
} count - [internal], line ??
App\View\Helper\CommonHelper::getMenu() - APP/View/Helper/CommonHelper.php, line 454
include - APP/Template/Layout/default.ctp, line 147
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1435
Cake\View\View::_render() - CORE/src/View/View.php, line 1393
Cake\View\View::renderLayout() - CORE/src/View/View.php, line 939
Cake\View\View::render() - CORE/src/View/View.php, line 897
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 791
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Routing\Dispatcher::dispatch() - CORE/src/Routing/Dispatcher.php, line 66
[main] - ROOT/webroot/index.php, line 47
×
Request you to share your contact details so that our travel expert may assist you
“One’s destination is never a place, but always a new way of seeing things.” - Henry Miller
Destinations
Cross paths with your dream travel by discovering your dream destinations with Bestway. Explore the popular tourist places alongside amazing off-beat spots in the following incredibly spectacular countries with us; namely India, Nepal, Bhutan, Sri Lanka, Bangladesh, and Maldives Possessing in-depth knowledge of these destinations, all our team professionals hold expertise in creating customized itineraries around these regions. We know the art of arranging a fulfilling travel experience of...Read more
Enquire now
Explore