Code Context else{
echo '<option value="0"> -- by City -- </option>';
foreach($all_city_filter as $key => $row) {
$viewFile = 'C:\Domains\sltbooking\sltbooking.com\wwwroot\app\View\Elements\search-availability.ctp'
$dataForView = array(
'var' => array(),
'hotel' => array(
'Hotel' => array(
'id' => '8495',
'uuid' => '5de0916a-6cb0-4ad4-b0b4-39f06383253b',
'user_id' => null,
'name' => 'Abbie's Homestay',
'slug' => 'abbie-s-homestay',
'excerpt' => 'Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang. ',
'body' => '<p>Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang.</p>
<p>This air-conditioned apartment has 2 bedrooms, a satellite flat-screen TV, a dining area, and a kitchen with a fridge and a stovetop. For added convenience, the property can provide towels and bed linen for an extra charge.</p>
<p>A car rental service is available at the apartment.</p>
<p>The nearest airport is Penang International Airport, 29 km from Abbie’s Homestay Butterworth.</p>
',
'addr_line_1' => '21-G-03, Jalan Mesra 2, Taman Bagan Lalang, 13400 Butterworth, Pulau Pinang',
'addr_line_2' => '',
'addr_line_3' => '',
'city_name' => 'Butterworth',
'state_name' => 'Penang',
'postal_code' => '13400 ',
'country' => 'Malaysia',
'email' => '',
'email_2' => '',
'phone_no' => ' 012-500 1550',
'fax_no' => '',
'whatsapp' => '',
'website' => 'https://www.booking.com/hotel/my/abbies-homestay-butterworth-butterworth123.en.html?aid=1760942&no_rooms=1&group_adults=1',
'remark' => 'from RM100',
'gst_id' => null,
'ghl_id' => null,
'ghl_pwd' => null,
'web_service_url' => '',
'photo' => '15749983781667954616.jpg',
'photo_dir' => '',
'map' => '',
'gps_link' => '',
'resv_url' => '',
'meta_title' => 'Abbie's Homestay',
'meta_keyword' => 'Abbie's Homestay , reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel',
'meta_description' => 'Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang. ',
'active' => true,
'sorting' => '0',
'created' => '2019-11-29 11:32:58',
'created_user_id' => '2',
'modified' => '2019-11-29 11:34:47',
'modified_user_id' => '2',
'payment_gateway_id' => null,
'front_desk_disabled' => null,
'molpay_merchant_id' => null,
'molpay_merchant_vkey' => null,
'ipay88_merchant_code' => null,
'ipay88_merchant_key' => null,
'state_id' => '10',
'city_id' => '127'
),
'CreatedUser' => array(
'username' => 'manager'
),
'ModifiedUser' => array(
'username' => 'manager'
),
'State' => array(
'name' => 'Pulau Pinang'
),
'City' => array(
'name' => 'Butterworth'
),
'RoomType' => array(),
'Attraction' => array(),
'Events' => array(),
'Pages' => array()
),
'title_for_layout' => 'Abbie's Homestay',
'mk_for_layout' => 'Abbie's Homestay , reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel',
'md_for_layout' => 'Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang. ',
'city_id_display' => array(
(int) 0 => '0'
),
'city_id' => null,
'state_id_display' => array(
(int) 0 => '0'
),
'state_id' => null,
'search_all' => null,
'all_city_filter' => '',
'all_state_filter' => array(
(int) 1 => 'Johor',
(int) 2 => 'Kedah',
(int) 4 => 'Kelantan',
(int) 5 => 'Melaka',
(int) 6 => 'Negeri Sembilan',
(int) 7 => 'Pahang',
(int) 8 => 'Perak',
(int) 9 => 'Perlis',
(int) 10 => 'Pulau Pinang',
(int) 11 => 'Sabah',
(int) 12 => 'Sarawak',
(int) 13 => 'Selangor',
(int) 14 => 'Terengganu',
(int) 15 => 'Wilayah Persekutuan Kuala Lumpur',
(int) 16 => 'Wilayah Persekutuan Labuan',
(int) 17 => 'Wilayah Persekutuan Putrajaya'
),
'galleryMedia' => array(
(int) 0 => array(
'GalleryMedia' => array(
[maximum depth reached]
)
)
),
'gallery' => array(
'Gallery' => array(
'id' => '6558',
'hotel_id' => '8495',
'title' => 'Abbie's Homestay',
'slug' => 'abbie-s-homestay',
'parent_id' => '1',
'lft' => '12970',
'rght' => '12971',
'content' => '',
'thumbnail' => null,
'meta_title' => 'Abbie's Homestay',
'meta_keyword' => 'Abbie's Homestay',
'meta_description' => 'Abbie's Homestay',
'is_published' => true,
'sorting' => '0',
'created' => '2019-11-29 11:33:22',
'modified' => '2019-11-29 11:33:22'
)
),
'sitename' => '',
'title' => ''
)
$var = array()
$hotel = array(
'Hotel' => array(
'id' => '8495',
'uuid' => '5de0916a-6cb0-4ad4-b0b4-39f06383253b',
'user_id' => null,
'name' => 'Abbie's Homestay',
'slug' => 'abbie-s-homestay',
'excerpt' => 'Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang. ',
'body' => '<p>Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang.</p>
<p>This air-conditioned apartment has 2 bedrooms, a satellite flat-screen TV, a dining area, and a kitchen with a fridge and a stovetop. For added convenience, the property can provide towels and bed linen for an extra charge.</p>
<p>A car rental service is available at the apartment.</p>
<p>The nearest airport is Penang International Airport, 29 km from Abbie’s Homestay Butterworth.</p>
',
'addr_line_1' => '21-G-03, Jalan Mesra 2, Taman Bagan Lalang, 13400 Butterworth, Pulau Pinang',
'addr_line_2' => '',
'addr_line_3' => '',
'city_name' => 'Butterworth',
'state_name' => 'Penang',
'postal_code' => '13400 ',
'country' => 'Malaysia',
'email' => '',
'email_2' => '',
'phone_no' => ' 012-500 1550',
'fax_no' => '',
'whatsapp' => '',
'website' => 'https://www.booking.com/hotel/my/abbies-homestay-butterworth-butterworth123.en.html?aid=1760942&no_rooms=1&group_adults=1',
'remark' => 'from RM100',
'gst_id' => null,
'ghl_id' => null,
'ghl_pwd' => null,
'web_service_url' => '',
'photo' => '15749983781667954616.jpg',
'photo_dir' => '',
'map' => '',
'gps_link' => '',
'resv_url' => '',
'meta_title' => 'Abbie's Homestay',
'meta_keyword' => 'Abbie's Homestay , reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel',
'meta_description' => 'Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang. ',
'active' => true,
'sorting' => '0',
'created' => '2019-11-29 11:32:58',
'created_user_id' => '2',
'modified' => '2019-11-29 11:34:47',
'modified_user_id' => '2',
'payment_gateway_id' => null,
'front_desk_disabled' => null,
'molpay_merchant_id' => null,
'molpay_merchant_vkey' => null,
'ipay88_merchant_code' => null,
'ipay88_merchant_key' => null,
'state_id' => '10',
'city_id' => '127'
),
'CreatedUser' => array(
'username' => 'manager'
),
'ModifiedUser' => array(
'username' => 'manager'
),
'State' => array(
'name' => 'Pulau Pinang'
),
'City' => array(
'name' => 'Butterworth'
),
'RoomType' => array(),
'Attraction' => array(),
'Events' => array(),
'Pages' => array()
)
$title_for_layout = 'Abbie's Homestay'
$mk_for_layout = 'Abbie's Homestay , reservation, rooms, bed, hotel deals, hotel cheap, best budget hotel, boutique hotel, best hotel'
$md_for_layout = 'Abbie’s Homestay Butterworth in Butterworth provides accommodations with free WiFi, 6.9 km from Penang Harbour, 14.5 km from Auto City Penang and 8 km from 1st Avenue Penang. '
$city_id_display = array(
(int) 0 => '0'
)
$city_id = null
$state_id_display = array(
(int) 0 => '0'
)
$state_id = null
$search_all = null
$all_city_filter = ''
$all_state_filter = array(
(int) 1 => 'Johor',
(int) 2 => 'Kedah',
(int) 4 => 'Kelantan',
(int) 5 => 'Melaka',
(int) 6 => 'Negeri Sembilan',
(int) 7 => 'Pahang',
(int) 8 => 'Perak',
(int) 9 => 'Perlis',
(int) 10 => 'Pulau Pinang',
(int) 11 => 'Sabah',
(int) 12 => 'Sarawak',
(int) 13 => 'Selangor',
(int) 14 => 'Terengganu',
(int) 15 => 'Wilayah Persekutuan Kuala Lumpur',
(int) 16 => 'Wilayah Persekutuan Labuan',
(int) 17 => 'Wilayah Persekutuan Putrajaya'
)
$galleryMedia = array(
(int) 0 => array(
'GalleryMedia' => array(
'id' => '6835',
'gallery_id' => '6558',
'photo' => '1574998478159897553.jpg',
'photo_dir' => '',
'sorting' => '0',
'title' => 'Hotel Building',
'created' => '2019-11-29 11:34:39',
'created_user_id' => null,
'modified' => '2019-11-29 11:34:39',
'modified_user_id' => null
)
)
)
$gallery = array(
'Gallery' => array(
'id' => '6558',
'hotel_id' => '8495',
'title' => 'Abbie's Homestay',
'slug' => 'abbie-s-homestay',
'parent_id' => '1',
'lft' => '12970',
'rght' => '12971',
'content' => '',
'thumbnail' => null,
'meta_title' => 'Abbie's Homestay',
'meta_keyword' => 'Abbie's Homestay',
'meta_description' => 'Abbie's Homestay',
'is_published' => true,
'sorting' => '0',
'created' => '2019-11-29 11:33:22',
'modified' => '2019-11-29 11:33:22'
)
)
$sitename = ''
$title = ''
$row = 'Wilayah Persekutuan Putrajaya'
$key = (int) 17
include - APP\View\Elements\search-availability.ctp, line 63
View::_evaluate() - CORE\Cake\View\View.php, line 971
View::_render() - CORE\Cake\View\View.php, line 933
View::_renderElement() - CORE\Cake\View\View.php, line 1224
View::element() - CORE\Cake\View\View.php, line 418
include - APP\View\Hotels\main.ctp, line 2
View::_evaluate() - CORE\Cake\View\View.php, line 971
View::_render() - CORE\Cake\View\View.php, line 933
View::render() - CORE\Cake\View\View.php, line 473
Controller::render() - CORE\Cake\Controller\Controller.php, line 963
Dispatcher::_invoke() - CORE\Cake\Routing\Dispatcher.php, line 200
Dispatcher::dispatch() - CORE\Cake\Routing\Dispatcher.php, line 167
require - APP\webroot\index.php, line 111
[main] - ROOT\index.php, line 41