Notice (8): Undefined variable: markers [APP/View/Places/category.ctp, line 42]Code Context ob_start();
include $___viewFn;
$___viewFn = '/home/yozo/public_html/app/View/Places/category.ctp'
$___dataForView = array(
'total_users' => (int) 244,
'online_users' => (int) 0,
'meta' => '',
'title_for_layout' => 'Hotels Brugge | Recensies Hotels in Brugge | Yozo',
'places' => array([maximum depth reached]),
'pop' => array([maximum depth reached]),
'tag_types' => array(
[maximum depth reached]
),
'category' => 'hotels',
'town' => 'brugge',
'new' => array([maximum depth reached]),
'top' => array([maximum depth reached])
)
$total_users = (int) 244
$online_users = (int) 0
$meta = ''
$title_for_layout = 'Hotels Brugge | Recensies Hotels in Brugge | Yozo'
$places = array()
$pop = array()
$tag_types = array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
)
)
$category = 'hotels'
$town = 'brugge'
$new = array()
$top = array()
$i = (int) 0
include - APP/View/Places/category.ctp, line 42
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::render() - CORE/Cake/View/View.php, line 470
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 92
Warning (2): Invalid argument supplied for foreach() [APP/View/Helper/GoogleMapsHelper.php, line 136]Code Context<div class="secondary">
<div class="map-a">
<?php $this->GoogleMaps->map($this->GoogleMaps->getCenterMarkers($town), 'map', false, 13, $markers); ?>
$location = object(Object) {}
$class = 'map'
$createmarker = false
$zoom = (int) 13
$markers = null
$controls = ''
$mapscode = '
var latlng = new google.maps.LatLng(51.21992, 4.39625);
var myOptions = {
zoom: 13,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
};
var map = new google.maps.Map(document.getElementById("googleMap"),myOptions);'
GoogleMapsHelper::map() - APP/View/Helper/GoogleMapsHelper.php, line 136
include - APP/View/Places/category.ctp, line 42
View::_evaluate() - CORE/Cake/View/View.php, line 915
View::_render() - CORE/Cake/View/View.php, line 879
View::render() - CORE/Cake/View/View.php, line 470
Controller::render() - CORE/Cake/Controller/Controller.php, line 959
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 110
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 85
[main] - APP/webroot/index.php, line 92