Notice (8): Undefined index: Hotel [APP\Controller\HotelsController.php, line 171]Code Context // $this->hotel->recursive = -1;
$hotel = $this->Hotel->findBySlug($slug);
$hotelId = $hotel['Hotel']['id'];//debug($hotelId);
$slug = 'topholidayhotel_themines2'
$id = null
$hotel = array()
HotelsController::main() - APP\Controller\HotelsController.php, line 171
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 491
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
require - APP\webroot\index.php, line 111
[main] - ROOT\index.php, line 41
Notice (8): Undefined index: Hotel [APP\Controller\HotelsController.php, line 189]Code Context $this->set(array(
'hotel' => $hotel,
'title_for_layout' => $this->viewVars['title'] . $hotel['Hotel']['meta_title'],
$slug = 'topholidayhotel_themines2'
$id = null
$hotel = array()
$hotelId = null
$gallery = array(
'Gallery' => array(
'id' => '1',
'hotel_id' => null,
'title' => 'Gallery',
'slug' => 'gallery',
'parent_id' => null,
'lft' => '1',
'rght' => '4',
'content' => '',
'thumbnail' => null,
'meta_title' => 'Top Holiday Hotel Gallery',
'meta_keyword' => 'Top Holiday Hotel Gallery',
'meta_description' => 'Top Holiday Hotel Gallery',
'is_published' => true,
'sorting' => '0',
'created' => '2017-08-02 11:21:37',
'modified' => '2018-06-04 10:59:35'
)
)
$galleryId = '1'
$galleryMedia = array()
HotelsController::main() - APP\Controller\HotelsController.php, line 189
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 491
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
require - APP\webroot\index.php, line 111
[main] - ROOT\index.php, line 41
Notice (8): Undefined index: Hotel [APP\Controller\HotelsController.php, line 190]Code Context 'hotel' => $hotel,
'title_for_layout' => $this->viewVars['title'] . $hotel['Hotel']['meta_title'],
'mk_for_layout' => $hotel['Hotel']['meta_keyword'],
$slug = 'topholidayhotel_themines2'
$id = null
$hotel = array()
$hotelId = null
$gallery = array(
'Gallery' => array(
'id' => '1',
'hotel_id' => null,
'title' => 'Gallery',
'slug' => 'gallery',
'parent_id' => null,
'lft' => '1',
'rght' => '4',
'content' => '',
'thumbnail' => null,
'meta_title' => 'Top Holiday Hotel Gallery',
'meta_keyword' => 'Top Holiday Hotel Gallery',
'meta_description' => 'Top Holiday Hotel Gallery',
'is_published' => true,
'sorting' => '0',
'created' => '2017-08-02 11:21:37',
'modified' => '2018-06-04 10:59:35'
)
)
$galleryId = '1'
$galleryMedia = array()
HotelsController::main() - APP\Controller\HotelsController.php, line 190
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 491
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
require - APP\webroot\index.php, line 111
[main] - ROOT\index.php, line 41
Notice (8): Undefined index: Hotel [APP\Controller\HotelsController.php, line 191]Code Context 'title_for_layout' => $this->viewVars['title'] . $hotel['Hotel']['meta_title'],
'mk_for_layout' => $hotel['Hotel']['meta_keyword'],
'md_for_layout' => $hotel['Hotel']['meta_description'],
$slug = 'topholidayhotel_themines2'
$id = null
$hotel = array()
$hotelId = null
$gallery = array(
'Gallery' => array(
'id' => '1',
'hotel_id' => null,
'title' => 'Gallery',
'slug' => 'gallery',
'parent_id' => null,
'lft' => '1',
'rght' => '4',
'content' => '',
'thumbnail' => null,
'meta_title' => 'Top Holiday Hotel Gallery',
'meta_keyword' => 'Top Holiday Hotel Gallery',
'meta_description' => 'Top Holiday Hotel Gallery',
'is_published' => true,
'sorting' => '0',
'created' => '2017-08-02 11:21:37',
'modified' => '2018-06-04 10:59:35'
)
)
$galleryId = '1'
$galleryMedia = array()
HotelsController::main() - APP\Controller\HotelsController.php, line 191
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE\Cake\Controller\Controller.php, line 491
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 193
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
require - APP\webroot\index.php, line 111
[main] - ROOT\index.php, line 41