Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'where' $sql = 'SELECT Rooms.id AS `Rooms__id`, Rooms.siteminder_id AS `Rooms__siteminder_id`, Rooms.enabled AS `Rooms__enabled`, Rooms.featured AS `Rooms__featured`, Rooms.title AS `Rooms__title`, Rooms.slug AS `Rooms__slug`, Rooms.reference AS `Rooms__reference`, Rooms.room_type_id AS `Rooms__room_type_id`, Rooms.longitude AS `Rooms__longitude`, Rooms.latitude AS `Rooms__latitude`, Rooms.zoom AS `Rooms__zoom`, Rooms.display_map AS `Rooms__display_map`, Rooms.room_pic_id AS `Rooms__room_pic_id`, Rooms.price AS `Rooms__price`, Rooms.price_xcd AS `Rooms__price_xcd`, Rooms.room_price_type_id AS `Rooms__room_price_type_id`, Rooms.duration AS `Rooms__duration`, Rooms.bedrooms AS `Rooms__bedrooms`, Rooms.bathrooms AS `Rooms__bathrooms`, Rooms.floors AS `Rooms__floors`, Rooms.rooms AS `Rooms__rooms`, Rooms.furnished AS `Rooms__furnished`, Rooms.room_status_id AS `Rooms__room_status_id`, Rooms.general_location_id AS `Rooms__general_location_id`, Rooms.district_id AS `Rooms__district_id`, Rooms.address_line_1 AS `Rooms__address_line_1`, Rooms.address_line_2 AS `Rooms__address_line_2`, Rooms.city AS `Rooms__city`, Rooms.state_province AS `Rooms__state_province`, Rooms.zip AS `Rooms__zip`, Rooms.country_id AS `Rooms__country_id`, Rooms.region AS `Rooms__region`, Rooms.room_offer_type_id AS `Rooms__room_offer_type_id`, Rooms.description AS `Rooms__description`, Rooms.lot_size AS `Rooms__lot_size`, Rooms.lot_size_unit AS `Rooms__lot_size_unit`, Rooms.room_size AS `Rooms__room_size`, Rooms.year_built AS `Rooms__year_built`, Rooms.room_style_id AS `Rooms__room_style_id`, Rooms.client_id AS `Rooms__client_id`, Rooms.availability_date AS `Rooms__availability_date`, Rooms.created AS `Rooms__created`, Rooms.modified AS `Rooms__modified`, Rooms.order AS `Rooms__order`, Rooms.thumb_path AS `Rooms__thumb_path`, Rooms.logo_path AS `Rooms__logo_path`, Rooms.owner_id AS `Rooms__owner_id`, Rooms.accomodates AS `Rooms__accomodates`, Rooms.kitchen_type AS `Rooms__kitchen_type`, Rooms.bed_type AS `Rooms__bed_type`, Rooms.tv_cable AS `Rooms__tv_cable`, Rooms.matterport_image_path AS `Rooms__matterport_image_path`, Rooms.iframe_url AS `Rooms__iframe_url`, Rooms.subtitle AS `Rooms__subtitle`, RoomTypes.id AS `RoomTypes__id`, RoomTypes.title AS `RoomTypes__title`, RoomTypes.description AS `RoomTypes__description`, RoomTypes.slug AS `RoomTypes__slug`, RoomTypes.header_path AS `RoomTypes__header_path`, RoomTypes.sub_title AS `RoomTypes__sub_title`, RoomStyles.id AS `RoomStyles__id`, RoomStyles.title AS `RoomStyles__title`, RoomStyles.description AS `RoomStyles__description` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 188 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Rooms.id AS `Rooms__id`, Rooms.siteminder_id AS `Rooms__siteminder_id`, Rooms.enabled AS `Rooms__enabled`, Rooms.featured AS `Rooms__featured`, Rooms.title AS `Rooms__title`, Rooms.slug AS `Rooms__slug`, Rooms.reference AS `Rooms__reference`, Rooms.room_type_id AS `Rooms__room_type_id`, Rooms.longitude AS `Rooms__longitude`, Rooms.latitude AS `Rooms__latitude`, Rooms.zoom AS `Rooms__zoom`, Rooms.display_map AS `Rooms__display_map`, Rooms.room_pic_id AS `Rooms__room_pic_id`, Rooms.price AS `Rooms__price`, Rooms.price_xcd AS `Rooms__price_xcd`, Rooms.room_price_type_id AS `Rooms__room_price_type_id`, Rooms.duration AS `Rooms__duration`, Rooms.bedrooms AS `Rooms__bedrooms`, Rooms.bathrooms AS `Rooms__bathrooms`, Rooms.floors AS `Rooms__floors`, Rooms.rooms AS `Rooms__rooms`, Rooms.furnished AS `Rooms__furnished`, Rooms.room_status_id AS `Rooms__room_status_id`, Rooms.general_location_id AS `Rooms__general_location_id`, Rooms.district_id AS `Rooms__district_id`, Rooms.address_line_1 AS `Rooms__address_line_1`, Rooms.address_line_2 AS `Rooms__address_line_2`, Rooms.city AS `Rooms__city`, Rooms.state_province AS `Rooms__state_province`, Rooms.zip AS `Rooms__zip`, Rooms.country_id AS `Rooms__country_id`, Rooms.region AS `Rooms__region`, Rooms.room_offer_type_id AS `Rooms__room_offer_type_id`, Rooms.description AS `Rooms__description`, Rooms.lot_size AS `Rooms__lot_size`, Rooms.lot_size_unit AS `Rooms__lot_size_unit`, Rooms.room_size AS `Rooms__room_size`, Rooms.year_built AS `Rooms__year_built`, Rooms.room_style_id AS `Rooms__room_style_id`, Rooms.client_id AS `Rooms__client_id`, Rooms.availability_date AS `Rooms__availability_date`, Rooms.created AS `Rooms__created`, Rooms.modified AS `Rooms__modified`, Rooms.order AS `Rooms__order`, Rooms.thumb_path AS `Rooms__thumb_path`, Rooms.logo_path AS `Rooms__logo_path`, Rooms.owner_id AS `Rooms__owner_id`, Rooms.accomodates AS `Rooms__accomodates`, Rooms.kitchen_type AS `Rooms__kitchen_type`, Rooms.bed_type AS `Rooms__bed_type`, Rooms.tv_cable AS `Rooms__tv_cable`, Rooms.matterport_image_path AS `Rooms__matterport_image_path`, Rooms.iframe_url AS `Rooms__iframe_url`, Rooms.subtitle AS `Rooms__subtitle`, RoomTypes.id AS `RoomTypes__id`, RoomTypes.title AS `RoomTypes__title`, RoomTypes.description AS `RoomTypes__description`, RoomTypes.slug AS `RoomTypes__slug`, RoomTypes.header_path AS `RoomTypes__header_path`, RoomTypes.sub_title AS `RoomTypes__sub_title`, RoomStyles.id AS `RoomStyles__id`, RoomStyles.title AS `RoomStyles__title`, RoomStyles.description AS `RoomStyles__description` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 188 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT Rooms.id AS `Rooms__id`, Rooms.siteminder_id AS `Rooms__siteminder_id`, Rooms.enabled AS `Rooms__enabled`, Rooms.featured AS `Rooms__featured`, Rooms.title AS `Rooms__title`, Rooms.slug AS `Rooms__slug`, Rooms.reference AS `Rooms__reference`, Rooms.room_type_id AS `Rooms__room_type_id`, Rooms.longitude AS `Rooms__longitude`, Rooms.latitude AS `Rooms__latitude`, Rooms.zoom AS `Rooms__zoom`, Rooms.display_map AS `Rooms__display_map`, Rooms.room_pic_id AS `Rooms__room_pic_id`, Rooms.price AS `Rooms__price`, Rooms.price_xcd AS `Rooms__price_xcd`, Rooms.room_price_type_id AS `Rooms__room_price_type_id`, Rooms.duration AS `Rooms__duration`, Rooms.bedrooms AS `Rooms__bedrooms`, Rooms.bathrooms AS `Rooms__bathrooms`, Rooms.floors AS `Rooms__floors`, Rooms.rooms AS `Rooms__rooms`, Rooms.furnished AS `Rooms__furnished`, Rooms.room_status_id AS `Rooms__room_status_id`, Rooms.general_location_id AS `Rooms__general_location_id`, Rooms.district_id AS `Rooms__district_id`, Rooms.address_line_1 AS `Rooms__address_line_1`, Rooms.address_line_2 AS `Rooms__address_line_2`, Rooms.city AS `Rooms__city`, Rooms.state_province AS `Rooms__state_province`, Rooms.zip AS `Rooms__zip`, Rooms.country_id AS `Rooms__country_id`, Rooms.region AS `Rooms__region`, Rooms.room_offer_type_id AS `Rooms__room_offer_type_id`, Rooms.description AS `Rooms__description`, Rooms.lot_size AS `Rooms__lot_size`, Rooms.lot_size_unit AS `Rooms__lot_size_unit`, Rooms.room_size AS `Rooms__room_size`, Rooms.year_built AS `Rooms__year_built`, Rooms.room_style_id AS `Rooms__room_style_id`, Rooms.client_id AS `Rooms__client_id`, Rooms.availability_date AS `Rooms__availability_date`, Rooms.created AS `Rooms__created`, Rooms.modified AS `Rooms__modified`, Rooms.order AS `Rooms__order`, Rooms.thumb_path AS `Rooms__thumb_path`, Rooms.logo_path AS `Rooms__logo_path`, Rooms.owner_id AS `Rooms__owner_id`, Rooms.accomodates AS `Rooms__accomodates`, Rooms.kitchen_type AS `Rooms__kitchen_type`, Rooms.bed_type AS `Rooms__bed_type`, Rooms.tv_cable AS `Rooms__tv_cable`, Rooms.matterport_image_path AS `Rooms__matterport_image_path`, Rooms.iframe_url AS `Rooms__iframe_url`, Rooms.subtitle AS `Rooms__subtitle`, RoomTypes.id AS `RoomTypes__id`, RoomTypes.title AS `RoomTypes__title`, RoomTypes.description AS `RoomTypes__description`, RoomTypes.slug AS `RoomTypes__slug`, RoomTypes.header_path AS `RoomTypes__header_path`, RoomTypes.sub_title AS `RoomTypes__sub_title`, RoomStyles.id AS `RoomStyles__id`, RoomStyles.title AS `RoomStyles__title`, RoomStyles.description AS `RoomStyles__description` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 188 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 20 $name = 'limit' $sql = 'SELECT Rooms.id AS `Rooms__id`, Rooms.siteminder_id AS `Rooms__siteminder_id`, Rooms.enabled AS `Rooms__enabled`, Rooms.featured AS `Rooms__featured`, Rooms.title AS `Rooms__title`, Rooms.slug AS `Rooms__slug`, Rooms.reference AS `Rooms__reference`, Rooms.room_type_id AS `Rooms__room_type_id`, Rooms.longitude AS `Rooms__longitude`, Rooms.latitude AS `Rooms__latitude`, Rooms.zoom AS `Rooms__zoom`, Rooms.display_map AS `Rooms__display_map`, Rooms.room_pic_id AS `Rooms__room_pic_id`, Rooms.price AS `Rooms__price`, Rooms.price_xcd AS `Rooms__price_xcd`, Rooms.room_price_type_id AS `Rooms__room_price_type_id`, Rooms.duration AS `Rooms__duration`, Rooms.bedrooms AS `Rooms__bedrooms`, Rooms.bathrooms AS `Rooms__bathrooms`, Rooms.floors AS `Rooms__floors`, Rooms.rooms AS `Rooms__rooms`, Rooms.furnished AS `Rooms__furnished`, Rooms.room_status_id AS `Rooms__room_status_id`, Rooms.general_location_id AS `Rooms__general_location_id`, Rooms.district_id AS `Rooms__district_id`, Rooms.address_line_1 AS `Rooms__address_line_1`, Rooms.address_line_2 AS `Rooms__address_line_2`, Rooms.city AS `Rooms__city`, Rooms.state_province AS `Rooms__state_province`, Rooms.zip AS `Rooms__zip`, Rooms.country_id AS `Rooms__country_id`, Rooms.region AS `Rooms__region`, Rooms.room_offer_type_id AS `Rooms__room_offer_type_id`, Rooms.description AS `Rooms__description`, Rooms.lot_size AS `Rooms__lot_size`, Rooms.lot_size_unit AS `Rooms__lot_size_unit`, Rooms.room_size AS `Rooms__room_size`, Rooms.year_built AS `Rooms__year_built`, Rooms.room_style_id AS `Rooms__room_style_id`, Rooms.client_id AS `Rooms__client_id`, Rooms.availability_date AS `Rooms__availability_date`, Rooms.created AS `Rooms__created`, Rooms.modified AS `Rooms__modified`, Rooms.order AS `Rooms__order`, Rooms.thumb_path AS `Rooms__thumb_path`, Rooms.logo_path AS `Rooms__logo_path`, Rooms.owner_id AS `Rooms__owner_id`, Rooms.accomodates AS `Rooms__accomodates`, Rooms.kitchen_type AS `Rooms__kitchen_type`, Rooms.bed_type AS `Rooms__bed_type`, Rooms.tv_cable AS `Rooms__tv_cable`, Rooms.matterport_image_path AS `Rooms__matterport_image_path`, Rooms.iframe_url AS `Rooms__iframe_url`, Rooms.subtitle AS `Rooms__subtitle`, RoomTypes.id AS `RoomTypes__id`, RoomTypes.title AS `RoomTypes__title`, RoomTypes.description AS `RoomTypes__description`, RoomTypes.slug AS `RoomTypes__slug`, RoomTypes.header_path AS `RoomTypes__header_path`, RoomTypes.sub_title AS `RoomTypes__sub_title`, RoomStyles.id AS `RoomStyles__id`, RoomStyles.title AS `RoomStyles__title`, RoomStyles.description AS `RoomStyles__description` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 188 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 0 $name = 'offset' $sql = 'SELECT Rooms.id AS `Rooms__id`, Rooms.siteminder_id AS `Rooms__siteminder_id`, Rooms.enabled AS `Rooms__enabled`, Rooms.featured AS `Rooms__featured`, Rooms.title AS `Rooms__title`, Rooms.slug AS `Rooms__slug`, Rooms.reference AS `Rooms__reference`, Rooms.room_type_id AS `Rooms__room_type_id`, Rooms.longitude AS `Rooms__longitude`, Rooms.latitude AS `Rooms__latitude`, Rooms.zoom AS `Rooms__zoom`, Rooms.display_map AS `Rooms__display_map`, Rooms.room_pic_id AS `Rooms__room_pic_id`, Rooms.price AS `Rooms__price`, Rooms.price_xcd AS `Rooms__price_xcd`, Rooms.room_price_type_id AS `Rooms__room_price_type_id`, Rooms.duration AS `Rooms__duration`, Rooms.bedrooms AS `Rooms__bedrooms`, Rooms.bathrooms AS `Rooms__bathrooms`, Rooms.floors AS `Rooms__floors`, Rooms.rooms AS `Rooms__rooms`, Rooms.furnished AS `Rooms__furnished`, Rooms.room_status_id AS `Rooms__room_status_id`, Rooms.general_location_id AS `Rooms__general_location_id`, Rooms.district_id AS `Rooms__district_id`, Rooms.address_line_1 AS `Rooms__address_line_1`, Rooms.address_line_2 AS `Rooms__address_line_2`, Rooms.city AS `Rooms__city`, Rooms.state_province AS `Rooms__state_province`, Rooms.zip AS `Rooms__zip`, Rooms.country_id AS `Rooms__country_id`, Rooms.region AS `Rooms__region`, Rooms.room_offer_type_id AS `Rooms__room_offer_type_id`, Rooms.description AS `Rooms__description`, Rooms.lot_size AS `Rooms__lot_size`, Rooms.lot_size_unit AS `Rooms__lot_size_unit`, Rooms.room_size AS `Rooms__room_size`, Rooms.year_built AS `Rooms__year_built`, Rooms.room_style_id AS `Rooms__room_style_id`, Rooms.client_id AS `Rooms__client_id`, Rooms.availability_date AS `Rooms__availability_date`, Rooms.created AS `Rooms__created`, Rooms.modified AS `Rooms__modified`, Rooms.order AS `Rooms__order`, Rooms.thumb_path AS `Rooms__thumb_path`, Rooms.logo_path AS `Rooms__logo_path`, Rooms.owner_id AS `Rooms__owner_id`, Rooms.accomodates AS `Rooms__accomodates`, Rooms.kitchen_type AS `Rooms__kitchen_type`, Rooms.bed_type AS `Rooms__bed_type`, Rooms.tv_cable AS `Rooms__tv_cable`, Rooms.matterport_image_path AS `Rooms__matterport_image_path`, Rooms.iframe_url AS `Rooms__iframe_url`, Rooms.subtitle AS `Rooms__subtitle`, RoomTypes.id AS `RoomTypes__id`, RoomTypes.title AS `RoomTypes__title`, RoomTypes.description AS `RoomTypes__description`, RoomTypes.slug AS `RoomTypes__slug`, RoomTypes.header_path AS `RoomTypes__header_path`, RoomTypes.sub_title AS `RoomTypes__sub_title`, RoomStyles.id AS `RoomStyles__id`, RoomStyles.title AS `RoomStyles__title`, RoomStyles.description AS `RoomStyles__description` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id) LIMIT 20' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 188 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Rooms.id AS `Rooms__id`, Rooms.siteminder_id AS `Rooms__siteminder_id`, Rooms.enabled AS `Rooms__enabled`, Rooms.featured AS `Rooms__featured`, Rooms.title AS `Rooms__title`, Rooms.slug AS `Rooms__slug`, Rooms.reference AS `Rooms__reference`, Rooms.room_type_id AS `Rooms__room_type_id`, Rooms.longitude AS `Rooms__longitude`, Rooms.latitude AS `Rooms__latitude`, Rooms.zoom AS `Rooms__zoom`, Rooms.display_map AS `Rooms__display_map`, Rooms.room_pic_id AS `Rooms__room_pic_id`, Rooms.price AS `Rooms__price`, Rooms.price_xcd AS `Rooms__price_xcd`, Rooms.room_price_type_id AS `Rooms__room_price_type_id`, Rooms.duration AS `Rooms__duration`, Rooms.bedrooms AS `Rooms__bedrooms`, Rooms.bathrooms AS `Rooms__bathrooms`, Rooms.floors AS `Rooms__floors`, Rooms.rooms AS `Rooms__rooms`, Rooms.furnished AS `Rooms__furnished`, Rooms.room_status_id AS `Rooms__room_status_id`, Rooms.general_location_id AS `Rooms__general_location_id`, Rooms.district_id AS `Rooms__district_id`, Rooms.address_line_1 AS `Rooms__address_line_1`, Rooms.address_line_2 AS `Rooms__address_line_2`, Rooms.city AS `Rooms__city`, Rooms.state_province AS `Rooms__state_province`, Rooms.zip AS `Rooms__zip`, Rooms.country_id AS `Rooms__country_id`, Rooms.region AS `Rooms__region`, Rooms.room_offer_type_id AS `Rooms__room_offer_type_id`, Rooms.description AS `Rooms__description`, Rooms.lot_size AS `Rooms__lot_size`, Rooms.lot_size_unit AS `Rooms__lot_size_unit`, Rooms.room_size AS `Rooms__room_size`, Rooms.year_built AS `Rooms__year_built`, Rooms.room_style_id AS `Rooms__room_style_id`, Rooms.client_id AS `Rooms__client_id`, Rooms.availability_date AS `Rooms__availability_date`, Rooms.created AS `Rooms__created`, Rooms.modified AS `Rooms__modified`, Rooms.order AS `Rooms__order`, Rooms.thumb_path AS `Rooms__thumb_path`, Rooms.logo_path AS `Rooms__logo_path`, Rooms.owner_id AS `Rooms__owner_id`, Rooms.accomodates AS `Rooms__accomodates`, Rooms.kitchen_type AS `Rooms__kitchen_type`, Rooms.bed_type AS `Rooms__bed_type`, Rooms.tv_cable AS `Rooms__tv_cable`, Rooms.matterport_image_path AS `Rooms__matterport_image_path`, Rooms.iframe_url AS `Rooms__iframe_url`, Rooms.subtitle AS `Rooms__subtitle`, RoomTypes.id AS `RoomTypes__id`, RoomTypes.title AS `RoomTypes__title`, RoomTypes.description AS `RoomTypes__description`, RoomTypes.slug AS `RoomTypes__slug`, RoomTypes.header_path AS `RoomTypes__header_path`, RoomTypes.sub_title AS `RoomTypes__sub_title`, RoomStyles.id AS `RoomStyles__id`, RoomStyles.title AS `RoomStyles__title`, RoomStyles.description AS `RoomStyles__description` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id) LIMIT 20 OFFSET 0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 188 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'where' $sql = 'SELECT (COUNT(*)) AS `count` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_performCount() - CORE/src/ORM/Query.php, line 818 Cake\ORM\Query::count() - CORE/src/ORM/Query.php, line 768 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 190 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 212
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT (COUNT(*)) AS `count` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_performCount() - CORE/src/ORM/Query.php, line 818 Cake\ORM\Query::count() - CORE/src/ORM/Query.php, line 768 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 190 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 212
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT (COUNT(*)) AS `count` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_performCount() - CORE/src/ORM/Query.php, line 818 Cake\ORM\Query::count() - CORE/src/ORM/Query.php, line 768 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 190 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 212
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT (COUNT(*)) AS `count` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_performCount() - CORE/src/ORM/Query.php, line 818 Cake\ORM\Query::count() - CORE/src/ORM/Query.php, line 768 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 190 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 212
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT (COUNT(*)) AS `count` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_performCount() - CORE/src/ORM/Query.php, line 818 Cake\ORM\Query::count() - CORE/src/ORM/Query.php, line 768 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 190 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 212
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT (COUNT(*)) AS `count` FROM re_rooms Rooms LEFT JOIN re_room_types RoomTypes ON RoomTypes.id = (Rooms.room_type_id) LEFT JOIN re_room_styles RoomStyles ON RoomStyles.id = (Rooms.room_style_id)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Rooms__id' => 'integer', 'Rooms.id' => 'integer', 'id' => 'integer', 'Rooms__siteminder_id' => 'integer', 'Rooms.siteminder_id' => 'integer', 'siteminder_id' => 'integer', 'Rooms__enabled' => 'boolean', 'Rooms.enabled' => 'boolean', 'enabled' => 'boolean', 'Rooms__featured' => 'boolean', 'Rooms.featured' => 'boolean', 'featured' => 'boolean', 'Rooms__title' => 'string', 'Rooms.title' => 'string', 'title' => 'string', 'Rooms__slug' => 'string', 'Rooms.slug' => 'string', 'slug' => 'string', 'Rooms__reference' => 'string', 'Rooms.reference' => 'string', 'reference' => 'string', 'Rooms__room_type_id' => 'integer', 'Rooms.room_type_id' => 'integer', 'room_type_id' => 'integer', 'Rooms__longitude' => 'string', 'Rooms.longitude' => 'string', 'longitude' => 'string', 'Rooms__latitude' => 'string', 'Rooms.latitude' => 'string', 'latitude' => 'string', 'Rooms__zoom' => 'integer', 'Rooms.zoom' => 'integer', 'zoom' => 'integer', 'Rooms__display_map' => 'boolean', 'Rooms.display_map' => 'boolean', 'display_map' => 'boolean', 'Rooms__room_pic_id' => 'integer', 'Rooms.room_pic_id' => 'integer', 'room_pic_id' => 'integer', 'Rooms__price' => 'decimal', 'Rooms.price' => 'decimal', 'price' => 'decimal', 'Rooms__price_xcd' => 'decimal', 'Rooms.price_xcd' => 'decimal', 'price_xcd' => 'decimal', 'Rooms__room_price_type_id' => 'integer', 'Rooms.room_price_type_id' => 'integer', 'room_price_type_id' => 'integer', 'Rooms__duration' => 'string', 'Rooms.duration' => 'string', 'duration' => 'string', 'Rooms__bedrooms' => 'integer', 'Rooms.bedrooms' => 'integer', 'bedrooms' => 'integer', 'Rooms__bathrooms' => 'float', 'Rooms.bathrooms' => 'float', 'bathrooms' => 'float', 'Rooms__floors' => 'integer', 'Rooms.floors' => 'integer', 'floors' => 'integer', 'Rooms__rooms' => 'integer', 'Rooms.rooms' => 'integer', 'rooms' => 'integer', 'Rooms__furnished' => 'integer', 'Rooms.furnished' => 'integer', 'furnished' => 'integer', 'Rooms__room_status_id' => 'integer', 'Rooms.room_status_id' => 'integer', 'room_status_id' => 'integer', 'Rooms__general_location_id' => 'integer', 'Rooms.general_location_id' => 'integer', 'general_location_id' => 'integer', 'Rooms__district_id' => 'integer', 'Rooms.district_id' => 'integer', 'district_id' => 'integer', 'Rooms__address_line_1' => 'string', 'Rooms.address_line_1' => 'string', 'address_line_1' => 'string', 'Rooms__address_line_2' => 'string', 'Rooms.address_line_2' => 'string', 'address_line_2' => 'string', 'Rooms__city' => 'string', 'Rooms.city' => 'string', 'city' => 'string', 'Rooms__state_province' => 'string', 'Rooms.state_province' => 'string', 'state_province' => 'string', 'Rooms__zip' => 'string', 'Rooms.zip' => 'string', 'zip' => 'string', 'Rooms__country_id' => 'integer', 'Rooms.country_id' => 'integer', 'country_id' => 'integer', 'Rooms__region' => 'string', 'Rooms.region' => 'string', 'region' => 'string', 'Rooms__room_offer_type_id' => 'integer', 'Rooms.room_offer_type_id' => 'integer', 'room_offer_type_id' => 'integer', 'Rooms__description' => 'text', 'Rooms.description' => 'text', 'description' => 'text', 'Rooms__lot_size' => 'float', 'Rooms.lot_size' => 'float', 'lot_size' => 'float', 'Rooms__lot_size_unit' => 'string', 'Rooms.lot_size_unit' => 'string', 'lot_size_unit' => 'string', 'Rooms__room_size' => 'integer', 'Rooms.room_size' => 'integer', 'room_size' => 'integer', 'Rooms__year_built' => 'text', 'Rooms.year_built' => 'text', 'year_built' => 'text', 'Rooms__room_style_id' => 'integer', 'Rooms.room_style_id' => 'integer', 'room_style_id' => 'integer', 'Rooms__client_id' => 'integer', 'Rooms.client_id' => 'integer', 'client_id' => 'integer', 'Rooms__availability_date' => 'date', 'Rooms.availability_date' => 'date', 'availability_date' => 'date', 'Rooms__created' => 'date', 'Rooms.created' => 'date', 'created' => 'date', 'Rooms__modified' => 'date', 'Rooms.modified' => 'date', 'modified' => 'date', 'Rooms__order' => 'integer', 'Rooms.order' => 'integer', 'order' => 'integer', 'Rooms__thumb_path' => 'string', 'Rooms.thumb_path' => 'string', 'thumb_path' => 'string', 'Rooms__logo_path' => 'string', 'Rooms.logo_path' => 'string', 'logo_path' => 'string', 'Rooms__owner_id' => 'integer', 'Rooms.owner_id' => 'integer', 'owner_id' => 'integer', 'Rooms__accomodates' => 'integer', 'Rooms.accomodates' => 'integer', 'accomodates' => 'integer', 'Rooms__kitchen_type' => 'string', 'Rooms.kitchen_type' => 'string', 'kitchen_type' => 'string', 'Rooms__bed_type' => 'string', 'Rooms.bed_type' => 'string', 'bed_type' => 'string', 'Rooms__tv_cable' => 'string', 'Rooms.tv_cable' => 'string', 'tv_cable' => 'string', 'Rooms__matterport_image_path' => 'string', 'Rooms.matterport_image_path' => 'string', 'matterport_image_path' => 'string', 'Rooms__iframe_url' => 'string', 'Rooms.iframe_url' => 'string', 'iframe_url' => 'string', 'Rooms__subtitle' => 'string', 'Rooms.subtitle' => 'string', 'subtitle' => 'string', 'RoomTypes__id' => 'integer', 'RoomTypes.id' => 'integer', 'RoomTypes__title' => 'string', 'RoomTypes.title' => 'string', 'RoomTypes__description' => 'text', 'RoomTypes.description' => 'text', 'RoomTypes__slug' => 'string', 'RoomTypes.slug' => 'string', 'RoomTypes__header_path' => 'string', 'RoomTypes.header_path' => 'string', 'header_path' => 'string', 'RoomTypes__sub_title' => 'string', 'RoomTypes.sub_title' => 'string', 'sub_title' => 'string', 'RoomStyles__id' => 'integer', 'RoomStyles.id' => 'integer', 'RoomStyles__title' => 'string', 'RoomStyles.title' => 'string', 'RoomStyles__description' => 'text', 'RoomStyles.description' => 'text' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'RoomTypes' => [[maximum depth reached]], 'RoomStyles' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [ 'scope' => null, 'whitelist' => [ [maximum depth reached] ] ], 'repository' => object(Accommodations\Model\Table\RoomsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [] [protected] _bindingsCount => (int) 0 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_performCount() - CORE/src/ORM/Query.php, line 818 Cake\ORM\Query::count() - CORE/src/ORM/Query.php, line 768 Cake\Controller\Component\PaginatorComponent::paginate() - CORE/src/Controller/Component/PaginatorComponent.php, line 190 Cake\Controller\Controller::paginate() - CORE/src/Controller/Controller.php, line 713 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 212
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Details.id AS `Details__id`, Details.title AS `Details__title`, Details.sub_title AS `Details__sub_title`, Details.body AS `Details__body`, Details.header_image_path AS `Details__header_image_path`, Details.meta_description AS `Details__meta_description`, Details.meta_keywords AS `Details__meta_keywords`, Details.model_table AS `Details__model_table`, Details.model_entity AS `Details__model_entity`, Details.plugin AS `Details__plugin`, Details.created AS `Details__created`, Details.modified AS `Details__modified`, Details.image_path AS `Details__image_path` FROM plugin_intro_details Details WHERE (Details.plugin = :c0 AND Details.model_table = :c1 AND Details.model_entity = :c2)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Details__id' => 'integer', 'Details.id' => 'integer', 'id' => 'integer', 'Details__title' => 'string', 'Details.title' => 'string', 'title' => 'string', 'Details__sub_title' => 'string', 'Details.sub_title' => 'string', 'sub_title' => 'string', 'Details__body' => 'text', 'Details.body' => 'text', 'body' => 'text', 'Details__header_image_path' => 'string', 'Details.header_image_path' => 'string', 'header_image_path' => 'string', 'Details__meta_description' => 'text', 'Details.meta_description' => 'text', 'meta_description' => 'text', 'Details__meta_keywords' => 'text', 'Details.meta_keywords' => 'text', 'meta_keywords' => 'text', 'Details__model_table' => 'string', 'Details.model_table' => 'string', 'model_table' => 'string', 'Details__model_entity' => 'string', 'Details.model_entity' => 'string', 'model_entity' => 'string', 'Details__plugin' => 'string', 'Details.plugin' => 'string', 'plugin' => 'string', 'Details__created' => 'datetime', 'Details.created' => 'datetime', 'created' => 'datetime', 'Details__modified' => 'datetime', 'Details.modified' => 'datetime', 'modified' => 'datetime', 'Details__image_path' => 'string', 'Details.image_path' => 'string', 'image_path' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(PluginIntro\Model\Table\DetailsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 3 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 226
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT Details.id AS `Details__id`, Details.title AS `Details__title`, Details.sub_title AS `Details__sub_title`, Details.body AS `Details__body`, Details.header_image_path AS `Details__header_image_path`, Details.meta_description AS `Details__meta_description`, Details.meta_keywords AS `Details__meta_keywords`, Details.model_table AS `Details__model_table`, Details.model_entity AS `Details__model_entity`, Details.plugin AS `Details__plugin`, Details.created AS `Details__created`, Details.modified AS `Details__modified`, Details.image_path AS `Details__image_path` FROM plugin_intro_details Details WHERE (Details.plugin = :c0 AND Details.model_table = :c1 AND Details.model_entity = :c2)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Details__id' => 'integer', 'Details.id' => 'integer', 'id' => 'integer', 'Details__title' => 'string', 'Details.title' => 'string', 'title' => 'string', 'Details__sub_title' => 'string', 'Details.sub_title' => 'string', 'sub_title' => 'string', 'Details__body' => 'text', 'Details.body' => 'text', 'body' => 'text', 'Details__header_image_path' => 'string', 'Details.header_image_path' => 'string', 'header_image_path' => 'string', 'Details__meta_description' => 'text', 'Details.meta_description' => 'text', 'meta_description' => 'text', 'Details__meta_keywords' => 'text', 'Details.meta_keywords' => 'text', 'meta_keywords' => 'text', 'Details__model_table' => 'string', 'Details.model_table' => 'string', 'model_table' => 'string', 'Details__model_entity' => 'string', 'Details.model_entity' => 'string', 'model_entity' => 'string', 'Details__plugin' => 'string', 'Details.plugin' => 'string', 'plugin' => 'string', 'Details__created' => 'datetime', 'Details.created' => 'datetime', 'created' => 'datetime', 'Details__modified' => 'datetime', 'Details.modified' => 'datetime', 'modified' => 'datetime', 'Details__image_path' => 'string', 'Details.image_path' => 'string', 'image_path' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(PluginIntro\Model\Table\DetailsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 3 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 226
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 1 $name = 'limit' $sql = 'SELECT Details.id AS `Details__id`, Details.title AS `Details__title`, Details.sub_title AS `Details__sub_title`, Details.body AS `Details__body`, Details.header_image_path AS `Details__header_image_path`, Details.meta_description AS `Details__meta_description`, Details.meta_keywords AS `Details__meta_keywords`, Details.model_table AS `Details__model_table`, Details.model_entity AS `Details__model_entity`, Details.plugin AS `Details__plugin`, Details.created AS `Details__created`, Details.modified AS `Details__modified`, Details.image_path AS `Details__image_path` FROM plugin_intro_details Details WHERE (Details.plugin = :c0 AND Details.model_table = :c1 AND Details.model_entity = :c2)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Details__id' => 'integer', 'Details.id' => 'integer', 'id' => 'integer', 'Details__title' => 'string', 'Details.title' => 'string', 'title' => 'string', 'Details__sub_title' => 'string', 'Details.sub_title' => 'string', 'sub_title' => 'string', 'Details__body' => 'text', 'Details.body' => 'text', 'body' => 'text', 'Details__header_image_path' => 'string', 'Details.header_image_path' => 'string', 'header_image_path' => 'string', 'Details__meta_description' => 'text', 'Details.meta_description' => 'text', 'meta_description' => 'text', 'Details__meta_keywords' => 'text', 'Details.meta_keywords' => 'text', 'meta_keywords' => 'text', 'Details__model_table' => 'string', 'Details.model_table' => 'string', 'model_table' => 'string', 'Details__model_entity' => 'string', 'Details.model_entity' => 'string', 'model_entity' => 'string', 'Details__plugin' => 'string', 'Details.plugin' => 'string', 'plugin' => 'string', 'Details__created' => 'datetime', 'Details.created' => 'datetime', 'created' => 'datetime', 'Details__modified' => 'datetime', 'Details.modified' => 'datetime', 'modified' => 'datetime', 'Details__image_path' => 'string', 'Details.image_path' => 'string', 'image_path' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(PluginIntro\Model\Table\DetailsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 3 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 226
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT Details.id AS `Details__id`, Details.title AS `Details__title`, Details.sub_title AS `Details__sub_title`, Details.body AS `Details__body`, Details.header_image_path AS `Details__header_image_path`, Details.meta_description AS `Details__meta_description`, Details.meta_keywords AS `Details__meta_keywords`, Details.model_table AS `Details__model_table`, Details.model_entity AS `Details__model_entity`, Details.plugin AS `Details__plugin`, Details.created AS `Details__created`, Details.modified AS `Details__modified`, Details.image_path AS `Details__image_path` FROM plugin_intro_details Details WHERE (Details.plugin = :c0 AND Details.model_table = :c1 AND Details.model_entity = :c2) LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Details__id' => 'integer', 'Details.id' => 'integer', 'id' => 'integer', 'Details__title' => 'string', 'Details.title' => 'string', 'title' => 'string', 'Details__sub_title' => 'string', 'Details.sub_title' => 'string', 'sub_title' => 'string', 'Details__body' => 'text', 'Details.body' => 'text', 'body' => 'text', 'Details__header_image_path' => 'string', 'Details.header_image_path' => 'string', 'header_image_path' => 'string', 'Details__meta_description' => 'text', 'Details.meta_description' => 'text', 'meta_description' => 'text', 'Details__meta_keywords' => 'text', 'Details.meta_keywords' => 'text', 'meta_keywords' => 'text', 'Details__model_table' => 'string', 'Details.model_table' => 'string', 'model_table' => 'string', 'Details__model_entity' => 'string', 'Details.model_entity' => 'string', 'model_entity' => 'string', 'Details__plugin' => 'string', 'Details.plugin' => 'string', 'plugin' => 'string', 'Details__created' => 'datetime', 'Details.created' => 'datetime', 'created' => 'datetime', 'Details__modified' => 'datetime', 'Details.modified' => 'datetime', 'modified' => 'datetime', 'Details__image_path' => 'string', 'Details.image_path' => 'string', 'image_path' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(PluginIntro\Model\Table\DetailsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 3 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 226
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Details.id AS `Details__id`, Details.title AS `Details__title`, Details.sub_title AS `Details__sub_title`, Details.body AS `Details__body`, Details.header_image_path AS `Details__header_image_path`, Details.meta_description AS `Details__meta_description`, Details.meta_keywords AS `Details__meta_keywords`, Details.model_table AS `Details__model_table`, Details.model_entity AS `Details__model_entity`, Details.plugin AS `Details__plugin`, Details.created AS `Details__created`, Details.modified AS `Details__modified`, Details.image_path AS `Details__image_path` FROM plugin_intro_details Details WHERE (Details.plugin = :c0 AND Details.model_table = :c1 AND Details.model_entity = :c2) LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Details__id' => 'integer', 'Details.id' => 'integer', 'id' => 'integer', 'Details__title' => 'string', 'Details.title' => 'string', 'title' => 'string', 'Details__sub_title' => 'string', 'Details.sub_title' => 'string', 'sub_title' => 'string', 'Details__body' => 'text', 'Details.body' => 'text', 'body' => 'text', 'Details__header_image_path' => 'string', 'Details.header_image_path' => 'string', 'header_image_path' => 'string', 'Details__meta_description' => 'text', 'Details.meta_description' => 'text', 'meta_description' => 'text', 'Details__meta_keywords' => 'text', 'Details.meta_keywords' => 'text', 'meta_keywords' => 'text', 'Details__model_table' => 'string', 'Details.model_table' => 'string', 'model_table' => 'string', 'Details__model_entity' => 'string', 'Details.model_entity' => 'string', 'model_entity' => 'string', 'Details__plugin' => 'string', 'Details.plugin' => 'string', 'plugin' => 'string', 'Details__created' => 'datetime', 'Details.created' => 'datetime', 'created' => 'datetime', 'Details__modified' => 'datetime', 'Details.modified' => 'datetime', 'modified' => 'datetime', 'Details__image_path' => 'string', 'Details.image_path' => 'string', 'image_path' => 'string' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(PluginIntro\Model\Table\DetailsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 3 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Accommodations\Controller\RoomsController::index() - ROOT/plugins/Accommodations/src/Controller/RoomsController.php, line 226
Warning (512): Unable to emit headers. Headers sent in file=/home/hhouseslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context$message = "Unable to emit headers. Headers sent in file=$file line=$line";
if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $maxBufferLength = (int) 8192 $file = '/home/hhouseslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 753 $message = 'Unable to emit headers. Headers sent in file=/home/hhouseslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/hhouseslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php, line 145]Code Context$response->getProtocolVersion(),
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => 'OK' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $reasonPhrase = 'OK'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 145 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/hhouseslu/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php, line 173]Code Context$name,
$value
), $first);
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => 'OK' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $name = 'Content-Type' $first = true $value = 'text/html; charset=UTF-8'header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 173 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Heritage House Saint Lucia features clean and comfortable accommodation with top tier service. Our guests are treated to free WiFi, cable television, and ceiling fans for those warm tropical nights. We have warm indoor showers and ironing boards in every room. Check out our room details by clicking on a room type below.
view all rooms belowWe are located:
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT RoomFeatures.id AS `RoomFeatures__id`, RoomFeatures.title AS `RoomFeatures__title`, RoomFeatures.logo_path AS `RoomFeatures__logo_path`, RoomFeatures.description AS `RoomFeatures__description`, RoomFeatures.room_feature_category_id AS `RoomFeatures__room_feature_category_id`, RoomFeatures.enabled AS `RoomFeatures__enabled` FROM re_room_features RoomFeatures WHERE RoomFeatures.enabled = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RoomFeatures__id' => 'integer', 'RoomFeatures.id' => 'integer', 'id' => 'integer', 'RoomFeatures__title' => 'string', 'RoomFeatures.title' => 'string', 'title' => 'string', 'RoomFeatures__logo_path' => 'string', 'RoomFeatures.logo_path' => 'string', 'logo_path' => 'string', 'RoomFeatures__description' => 'text', 'RoomFeatures.description' => 'text', 'description' => 'text', 'RoomFeatures__room_feature_category_id' => 'integer', 'RoomFeatures.room_feature_category_id' => 'integer', 'room_feature_category_id' => 'integer', 'RoomFeatures__enabled' => 'integer', 'RoomFeatures.enabled' => 'integer', 'enabled' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Accommodations\Model\Table\RoomFeaturesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 Accommodations\View\Cell\FacilitiesCell::display() - ROOT/plugins/Accommodations/src/View/Cell/FacilitiesCell.php, line 30
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT RoomFeatures.id AS `RoomFeatures__id`, RoomFeatures.title AS `RoomFeatures__title`, RoomFeatures.logo_path AS `RoomFeatures__logo_path`, RoomFeatures.description AS `RoomFeatures__description`, RoomFeatures.room_feature_category_id AS `RoomFeatures__room_feature_category_id`, RoomFeatures.enabled AS `RoomFeatures__enabled` FROM re_room_features RoomFeatures WHERE RoomFeatures.enabled = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RoomFeatures__id' => 'integer', 'RoomFeatures.id' => 'integer', 'id' => 'integer', 'RoomFeatures__title' => 'string', 'RoomFeatures.title' => 'string', 'title' => 'string', 'RoomFeatures__logo_path' => 'string', 'RoomFeatures.logo_path' => 'string', 'logo_path' => 'string', 'RoomFeatures__description' => 'text', 'RoomFeatures.description' => 'text', 'description' => 'text', 'RoomFeatures__room_feature_category_id' => 'integer', 'RoomFeatures.room_feature_category_id' => 'integer', 'room_feature_category_id' => 'integer', 'RoomFeatures__enabled' => 'integer', 'RoomFeatures.enabled' => 'integer', 'enabled' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Accommodations\Model\Table\RoomFeaturesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 Accommodations\View\Cell\FacilitiesCell::display() - ROOT/plugins/Accommodations/src/View/Cell/FacilitiesCell.php, line 30
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 12 $name = 'limit' $sql = 'SELECT RoomFeatures.id AS `RoomFeatures__id`, RoomFeatures.title AS `RoomFeatures__title`, RoomFeatures.logo_path AS `RoomFeatures__logo_path`, RoomFeatures.description AS `RoomFeatures__description`, RoomFeatures.room_feature_category_id AS `RoomFeatures__room_feature_category_id`, RoomFeatures.enabled AS `RoomFeatures__enabled` FROM re_room_features RoomFeatures WHERE RoomFeatures.enabled = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RoomFeatures__id' => 'integer', 'RoomFeatures.id' => 'integer', 'id' => 'integer', 'RoomFeatures__title' => 'string', 'RoomFeatures.title' => 'string', 'title' => 'string', 'RoomFeatures__logo_path' => 'string', 'RoomFeatures.logo_path' => 'string', 'logo_path' => 'string', 'RoomFeatures__description' => 'text', 'RoomFeatures.description' => 'text', 'description' => 'text', 'RoomFeatures__room_feature_category_id' => 'integer', 'RoomFeatures.room_feature_category_id' => 'integer', 'room_feature_category_id' => 'integer', 'RoomFeatures__enabled' => 'integer', 'RoomFeatures.enabled' => 'integer', 'enabled' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Accommodations\Model\Table\RoomFeaturesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 Accommodations\View\Cell\FacilitiesCell::display() - ROOT/plugins/Accommodations/src/View/Cell/FacilitiesCell.php, line 30
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT RoomFeatures.id AS `RoomFeatures__id`, RoomFeatures.title AS `RoomFeatures__title`, RoomFeatures.logo_path AS `RoomFeatures__logo_path`, RoomFeatures.description AS `RoomFeatures__description`, RoomFeatures.room_feature_category_id AS `RoomFeatures__room_feature_category_id`, RoomFeatures.enabled AS `RoomFeatures__enabled` FROM re_room_features RoomFeatures WHERE RoomFeatures.enabled = :c0 LIMIT 12' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RoomFeatures__id' => 'integer', 'RoomFeatures.id' => 'integer', 'id' => 'integer', 'RoomFeatures__title' => 'string', 'RoomFeatures.title' => 'string', 'title' => 'string', 'RoomFeatures__logo_path' => 'string', 'RoomFeatures.logo_path' => 'string', 'logo_path' => 'string', 'RoomFeatures__description' => 'text', 'RoomFeatures.description' => 'text', 'description' => 'text', 'RoomFeatures__room_feature_category_id' => 'integer', 'RoomFeatures.room_feature_category_id' => 'integer', 'room_feature_category_id' => 'integer', 'RoomFeatures__enabled' => 'integer', 'RoomFeatures.enabled' => 'integer', 'enabled' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Accommodations\Model\Table\RoomFeaturesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 Accommodations\View\Cell\FacilitiesCell::display() - ROOT/plugins/Accommodations/src/View/Cell/FacilitiesCell.php, line 30
Warning (2): count() [function.count]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT RoomFeatures.id AS `RoomFeatures__id`, RoomFeatures.title AS `RoomFeatures__title`, RoomFeatures.logo_path AS `RoomFeatures__logo_path`, RoomFeatures.description AS `RoomFeatures__description`, RoomFeatures.room_feature_category_id AS `RoomFeatures__room_feature_category_id`, RoomFeatures.enabled AS `RoomFeatures__enabled` FROM re_room_features RoomFeatures WHERE RoomFeatures.enabled = :c0 LIMIT 12' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RoomFeatures__id' => 'integer', 'RoomFeatures.id' => 'integer', 'id' => 'integer', 'RoomFeatures__title' => 'string', 'RoomFeatures.title' => 'string', 'title' => 'string', 'RoomFeatures__logo_path' => 'string', 'RoomFeatures.logo_path' => 'string', 'logo_path' => 'string', 'RoomFeatures__description' => 'text', 'RoomFeatures.description' => 'text', 'description' => 'text', 'RoomFeatures__room_feature_category_id' => 'integer', 'RoomFeatures.room_feature_category_id' => 'integer', 'room_feature_category_id' => 'integer', 'RoomFeatures__enabled' => 'integer', 'RoomFeatures.enabled' => 'integer', 'enabled' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Accommodations\Model\Table\RoomFeaturesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 256 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 Accommodations\View\Cell\FacilitiesCell::display() - ROOT/plugins/Accommodations/src/View/Cell/FacilitiesCell.php, line 30