Warning (2) : reset() expects parameter 1 to be array, null given [APP/Controller/FeaturesController.php , line 481 ]Code Context for ( $x = 0 ; $x <= $maxid ; ++ $x ) {
$curcounty = reset ( $ids [ $x ]-> politicals [ 'County' ]);
if ( $x < $maxid ) $nextcounty = reset ( $ids [ $x + 1 ]-> politicals [ 'County' ]); else $nextcounty = '' ;
$name = 'Central'
$conn = object(Cake\Database\Connection) {
'config' => [
'password' => '*****',
'username' => '*****',
'host' => '*****',
'database' => '*****',
'driver' => 'Cake\Database\Driver\Postgres',
'persistent' => false,
'encoding' => 'utf8',
'timezone' => 'UTC',
'flags' => [[maximum depth reached]],
'cacheMetadata' => true,
'log' => false,
'quoteIdentifiers' => false,
'url' => null,
'name' => 'default'
],
'driver' => object(Cake\Database\Driver\Postgres) {},
'transactionLevel' => (int) 0,
'transactionStarted' => false,
'useSavePoints' => false,
'logQueries' => (int) 1,
'logger' => object(Cake\Database\Log\QueryLogger) {}
}
$sql = 'SELECT "feature_id" FROM disambig WHERE "name" = 'central' ORDER BY "sort_order"'
$stmt = object(Cake\Database\Log\LoggingStatement) {
[protected] _logger => object(Cake\Database\Log\QueryLogger) {}
[protected] _compiledParams => []
[protected] _statement => object(Cake\Database\Statement\PDOStatement) {}
[protected] _driver => object(Cake\Database\Driver\Postgres) {}
[protected] _hasExecuted => true
}
$results = [
(int) 0 => [
'feature_id' => (int) 5111
],
(int) 1 => [
'feature_id' => (int) 13286
],
(int) 2 => [
'feature_id' => (int) 2166
],
(int) 3 => [
'feature_id' => (int) 10954
]
]
$ids = [
(int) 0 => object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 1 => object(App\Model\Entity\Feature) {
'id' => (int) 13286,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 13260,
'lat' => (float) 42.20428,
'lon' => (float) -85.58984,
'parentname' => '',
'feature_children' => [[maximum depth reached]],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 2 => object(App\Model\Entity\Feature) {
'id' => (int) 2166,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 2158,
'lat' => (float) 43.00979,
'lon' => (float) -85.7737,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 3 => object(App\Model\Entity\Feature) {
'id' => (int) 10954,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 10956,
'lat' => (float) 45.96235,
'lon' => (float) -86.24227,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
}
]
$result = [
'feature_id' => (int) 10954
]
$features = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Features.id AS "Features__id", Features.name AS "Features__name", Features.featuretype_id AS "Features__featuretype_id", Features.geometry_id AS "Features__geometry_id", Features.lat AS "Features__lat", Features.lon AS "Features__lon", Features.parentname AS "Features__parentname" FROM features Features WHERE Features.id in (:c0,:c1,:c2,:c3)',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Features__id' => 'integer',
'Features.id' => 'integer',
'id' => 'integer',
'Features__name' => 'string',
'Features.name' => 'string',
'name' => 'string',
'Features__featuretype_id' => 'integer',
'Features.featuretype_id' => 'integer',
'featuretype_id' => 'integer',
'Features__geometry_id' => 'integer',
'Features.geometry_id' => 'integer',
'geometry_id' => 'integer',
'Features__lat' => 'float',
'Features.lat' => 'float',
'lat' => 'float',
'Features__lon' => 'float',
'Features.lon' => 'float',
'lon' => 'float',
'Features__parentname' => 'string',
'Features.parentname' => 'string',
'parentname' => 'string',
'FeatureParents__id' => 'integer',
'FeatureParents.id' => 'integer',
'FeatureParents__name' => 'string',
'FeatureParents.name' => 'string',
'FeatureParents__featuretype_id' => 'integer',
'FeatureParents.featuretype_id' => 'integer',
'FeatureParents__geometry_id' => 'integer',
'FeatureParents.geometry_id' => 'integer',
'FeatureParents__lat' => 'float',
'FeatureParents.lat' => 'float',
'FeatureParents__lon' => 'float',
'FeatureParents.lon' => 'float',
'FeatureParents__parentname' => 'string',
'FeatureParents.parentname' => 'string',
'FeatureChildren__id' => 'integer',
'FeatureChildren.id' => 'integer',
'FeatureChildren__name' => 'string',
'FeatureChildren.name' => 'string',
'FeatureChildren__featuretype_id' => 'integer',
'FeatureChildren.featuretype_id' => 'integer',
'FeatureChildren__geometry_id' => 'integer',
'FeatureChildren.geometry_id' => 'integer',
'FeatureChildren__lat' => 'float',
'FeatureChildren.lat' => 'float',
'FeatureChildren__lon' => 'float',
'FeatureChildren.lon' => 'float',
'FeatureChildren__parentname' => 'string',
'FeatureChildren.parentname' => 'string'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'FeatureParents' => [[maximum depth reached]],
'FeatureChildren' => [[maximum depth reached]]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\FeaturesTable) {}
}
$dummy = true
$id = (int) 10954
$feature = object(App\Model\Entity\Feature) {
'id' => (int) 10954,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 10956,
'lat' => (float) 45.96235,
'lon' => (float) -86.24227,
'parentname' => '',
'feature_children' => [
(int) 0 => object(App\Model\Entity\Feature) {}
],
'feature_parents' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {},
(int) 2 => object(App\Model\Entity\Feature) {},
(int) 3 => object(App\Model\Entity\Feature) {}
],
'attributes' => [
(int) 0 => [
[maximum depth reached]
],
(int) 1 => [
[maximum depth reached]
],
(int) 2 => [
[maximum depth reached]
],
(int) 3 => [
[maximum depth reached]
],
(int) 4 => [
[maximum depth reached]
]
],
'politicals' => [
'Region' => [
[maximum depth reached]
],
'City' => [
[maximum depth reached]
],
'County' => [
[maximum depth reached]
]
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'attributes' => true,
'politicals' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Features'
}
$prevcounty = ''
$maxid = (int) 3
$x = (int) 0 reset - [internal], line ??
App\Controller\FeaturesController::disambig() - APP/Controller/FeaturesController.php, line 481
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 98
[main] - ROOT/webroot/index.php, line 40 Warning (512) : Unable to emit headers. Headers sent in file=/var/www/projects/mioutdoors/vendor/cakephp/cakephp/src/Error/Debugger.php line=853 [CORE/src/Http/ResponseEmitter.php , line 48 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else {
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Outdoor activities in michigan">
<meta name="keywords" content="recreation,nature,trails,parks,gpx,kml,gps,restrooms,outdoors,michigan">
<title>
Centrals - Outdoor Michigan </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link rel="stylesheet" href="/css/material.indigo-green.min.css"/>
<link rel="stylesheet" href="/css/home.css"/>
<script src="/js/material.min.js"></script>
<script src="/js/zepto.min.js"></script>
<link rel="stylesheet" href="/css/leaflet.css"/> <script src="/js/leaflet.js"></script></head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header mdl-layout__header--waterfall portfolio-header">
<div class="mdl-layout__header-row">
<div class="mdl-layout-spacer mdl-layout--small-screen-only"></div>
<div style="padding-left: 20px;"><a href="/restrooms"><button type="button" class="mdl-button mdl-js-button mdl-button--icon" title="Restroom Locator"><i class="material-icons" style="color: #FFF;">wc</i></button></a></div>
<div class="mdl-layout-spacer"></div>
<span class="mdl-layout__title"><a href="/" accesskey="1">Outdoor Michigan</a></span>
<div class="mdl-layout-spacer"></div>
<form method="post" accept-charset="utf-8" id="SearchForm" onsubmit="this.action = "/search/" + this["Search[term]"].value" action="/search"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label">
<label class="mdl-button mdl-js-button mdl-button--icon" for="search" title="Search">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input name="Search[term]" class="mdl-textfield__input" type="text" id="search">
<label class="mdl-textfield__label" for="search">Enter a feature name</label>
</div>
</div>
</form> </div>
<div class="mdl-layout__header-row portfolio-navigation-row mdl-layout--large-screen-only">
<nav class="mdl-navigation mdl-typography--body-1-force-preferred-font">
<a href="/" class="mdl-navigation__link">Home</a><a href="/nearhere" class="mdl-navigation__link">Near here</a><a href="/features" class="mdl-navigation__link">Index</a><a href="/highways" class="mdl-navigation__link">Highways</a><a href="/species" class="mdl-navigation__link">Species</a> </nav>
</div>
</header>
<div class="mdl-layout__drawer mdl-layout--small-screen-only">
<nav class="mdl-navigation mdl-typography--body-1-force-preferred-font">
<a href="/" class="mdl-navigation__link is-active">Home</a><a href="/nearhere" class="mdl-navigation__link">Near here</a><a href="/features" class="mdl-navigation__link">Index</a><a href="/highways" class="mdl-navigation__link">Highways</a><a href="/species" class="mdl-navigation__link">Species</a> </nav>
</div>
<main class="mdl-layout__content">
<div class="container clearfix">
<div style="display: flex; flex-wrap: wrap;"><div><a href="/feature/5111">Central City Park</a> <br /><a href="/feature/13286">Central City Park</a> Kalamazoo County<br /><a href="/feature/2166">Central City Park</a> Kent County<br /><a href="/feature/10954">Central City Park</a> Schoolcraft County<br /></div><div><div id="feature_map_canvas"></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-trace').style.display = (document.getElementById('cakeErr6767c82ed1bde-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: reset() expects parameter 1 to be array, null given [<b>APP/Template/Features/disambig.ctp</b>, line <b>46</b>]<div id="cakeErr6767c82ed1bde-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-code').style.display = (document.getElementById('cakeErr6767c82ed1bde-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-context').style.display = (document.getElementById('cakeErr6767c82ed1bde-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6767c82ed1bde-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $featurename </span><span style="color: #007700">= </span><span style="color: #0000BB">$parenttitle </span><span style="color: #007700">. </span><span style="color: #0000BB">AttributeHelper</span><span style="color: #007700">::</span><span style="color: #0000BB">getFeatureName</span><span style="color: #007700">(</span><span style="color: #0000BB">$feature</span><span style="color: #007700">) . </span><span style="color: #DD0000">' (' </span><span style="color: #007700">. </span><span style="color: #0000BB">reset</span><span style="color: #007700">(</span><span style="color: #0000BB">$feature</span><span style="color: #007700">-></span><span style="color: #0000BB">politicals</span><span style="color: #007700">[</span><span style="color: #DD0000">'County'</span><span style="color: #007700">]) . </span><span style="color: #DD0000">' County)'</span><span style="color: #007700">;</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #DD0000">"<a href='/feature/</span><span style="color: #007700">{</span><span style="color: #0000BB">$feature</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">}</span><span style="color: #DD0000">'>"</span><span style="color: #007700">;</span></span></code></pre><pre id="cakeErr6767c82ed1bde-context" class="cake-context" style="display: none;">$viewFile = '/var/www/projects/mioutdoors/src/Template/Features/disambig.ctp'
$dataForView = [
'features' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {},
(int) 2 => object(App\Model\Entity\Feature) {},
(int) 3 => object(App\Model\Entity\Feature) {}
],
'name' => 'Central',
'user' => null
]
$features = [
(int) 0 => object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 1 => object(App\Model\Entity\Feature) {
'id' => (int) 13286,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 13260,
'lat' => (float) 42.20428,
'lon' => (float) -85.58984,
'parentname' => '',
'feature_children' => [[maximum depth reached]],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 2 => object(App\Model\Entity\Feature) {
'id' => (int) 2166,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 2158,
'lat' => (float) 43.00979,
'lon' => (float) -85.7737,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 3 => object(App\Model\Entity\Feature) {
'id' => (int) 10954,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 10956,
'lat' => (float) 45.96235,
'lon' => (float) -86.24227,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
}
]
$name = 'Central'
$user = null
$feature = object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {}
],
'feature_parents' => [
(int) 0 => object(App\Model\Entity\Feature) {}
],
'attributes' => [
(int) 0 => [
[maximum depth reached]
],
(int) 1 => [
[maximum depth reached]
],
(int) 2 => [
[maximum depth reached]
],
(int) 3 => [
[maximum depth reached]
],
(int) 4 => [
[maximum depth reached]
],
(int) 5 => [
[maximum depth reached]
]
],
'politicals' => [
'County' => null
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'attributes' => true,
'politicals' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Features'
}
$title = 'Central City Park'
$pols = [
(int) 0 => 'Schoolcraft County'
]
$politicals = [
'Region' => [
(int) 1627 => 'East U.P.'
],
'City' => [
(int) 1106 => 'Manistique'
],
'County' => [
(int) 83 => 'Schoolcraft'
]
]
$county = 'Schoolcraft'
$latlons = ''
$count = (int) 1
$parenttitle = ''</pre><pre class="stack-trace">reset - [internal], line ??
include - APP/Template/Features/disambig.ctp, line 46
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51</pre></div></pre><script> var latlons = [[41.66471,-86.17721,"<a href='/feature/5111'><div title=\"Central City Park ( County)\"><img src='/img/bluemarker.png' /></div></a>"],[42.20428,-85.58984,"<a href='/feature/13286'><div title=\"Central City Park (Kalamazoo County)\"><img src='/img/bluemarker.png' /></div></a>"],[43.00979,-85.7737,"<a href='/feature/2166'><div title=\"Central City Park (Kent County)\"><img src='/img/bluemarker.png' /></div></a>"],[45.96235,-86.24227,"<a href='/feature/10954'><div title=\"Central City Park (Schoolcraft County)\"><img src='/img/bluemarker.png' /></div></a>"]];
var latlng = L.latLng(44.34, -85.58);
var agmap = L.map('feature_map_canvas', {
center: latlng,
zoom: 6});
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
maxZoom: 19,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(agmap);
var markers = [];
var bounds = L.latLngBounds();
var i;
for (i = 0; i < latlons.length; ++i) {
var latLng = L.latLng(latlons[i][0], latlons[i][1]);
bounds.extend(latLng);
var html = '<div style="transform: translate(-50%, -100%);">' + latlons[i][2] + '</div>';
var myIcon = L.divIcon({html: html, className: 'feature-marker-icon'});
var marker = L.marker(latLng, {icon: myIcon}).addTo(agmap);
}
if (latlons.length > 0) {
agmap.fitBounds(bounds);
//google.maps.event.addListenerOnce(agmap, 'zoom_changed', function() {if (agmap.getZoom() > 17) agmap.setZoom(17);});
}
</script><center>Click on a <img src="/img/bluemarker.png" /> to view it.</center></div></div> </div>
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<ul class="mdl-mini-footer__link-list">
<li><a href="/pages/help">Help</a></li>
<li><a href="/pages/links">Links</a></li>
<li><a href="/pages/statistics">Statistics</a></li>
<li><a accesskey="9" href="mailto:outdoormichigan@brucemyers.com">Email</a></li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<ul class="mdl-mini-footer__link-list">
<li> </li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/"><img src="/img/cc080x15.png" style="border-style: none;" alt="CC0" /></a>
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.
</div>
</footer>
</main>
</div>
</body>
</html>
'
}
$maxBufferLength = (int) 8192
$file = '/var/www/projects/mioutdoors/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 853
$message = 'Unable to emit headers. Headers sent in file=/var/www/projects/mioutdoors/vendor/cakephp/cakephp/src/Error/Debugger.php line=853' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/projects/mioutdoors/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php , line 148 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
));
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Outdoor activities in michigan">
<meta name="keywords" content="recreation,nature,trails,parks,gpx,kml,gps,restrooms,outdoors,michigan">
<title>
Centrals - Outdoor Michigan </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link rel="stylesheet" href="/css/material.indigo-green.min.css"/>
<link rel="stylesheet" href="/css/home.css"/>
<script src="/js/material.min.js"></script>
<script src="/js/zepto.min.js"></script>
<link rel="stylesheet" href="/css/leaflet.css"/> <script src="/js/leaflet.js"></script></head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header mdl-layout__header--waterfall portfolio-header">
<div class="mdl-layout__header-row">
<div class="mdl-layout-spacer mdl-layout--small-screen-only"></div>
<div style="padding-left: 20px;"><a href="/restrooms"><button type="button" class="mdl-button mdl-js-button mdl-button--icon" title="Restroom Locator"><i class="material-icons" style="color: #FFF;">wc</i></button></a></div>
<div class="mdl-layout-spacer"></div>
<span class="mdl-layout__title"><a href="/" accesskey="1">Outdoor Michigan</a></span>
<div class="mdl-layout-spacer"></div>
<form method="post" accept-charset="utf-8" id="SearchForm" onsubmit="this.action = "/search/" + this["Search[term]"].value" action="/search"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label">
<label class="mdl-button mdl-js-button mdl-button--icon" for="search" title="Search">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input name="Search[term]" class="mdl-textfield__input" type="text" id="search">
<label class="mdl-textfield__label" for="search">Enter a feature name</label>
</div>
</div>
</form> </div>
<div class="mdl-layout__header-row portfolio-navigation-row mdl-layout--large-screen-only">
<nav class="mdl-navigation mdl-typography--body-1-force-preferred-font">
<a href="/" class="mdl-navigation__link">Home</a><a href="/nearhere" class="mdl-navigation__link">Near here</a><a href="/features" class="mdl-navigation__link">Index</a><a href="/highways" class="mdl-navigation__link">Highways</a><a href="/species" class="mdl-navigation__link">Species</a> </nav>
</div>
</header>
<div class="mdl-layout__drawer mdl-layout--small-screen-only">
<nav class="mdl-navigation mdl-typography--body-1-force-preferred-font">
<a href="/" class="mdl-navigation__link is-active">Home</a><a href="/nearhere" class="mdl-navigation__link">Near here</a><a href="/features" class="mdl-navigation__link">Index</a><a href="/highways" class="mdl-navigation__link">Highways</a><a href="/species" class="mdl-navigation__link">Species</a> </nav>
</div>
<main class="mdl-layout__content">
<div class="container clearfix">
<div style="display: flex; flex-wrap: wrap;"><div><a href="/feature/5111">Central City Park</a> <br /><a href="/feature/13286">Central City Park</a> Kalamazoo County<br /><a href="/feature/2166">Central City Park</a> Kent County<br /><a href="/feature/10954">Central City Park</a> Schoolcraft County<br /></div><div><div id="feature_map_canvas"></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-trace').style.display = (document.getElementById('cakeErr6767c82ed1bde-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: reset() expects parameter 1 to be array, null given [<b>APP/Template/Features/disambig.ctp</b>, line <b>46</b>]<div id="cakeErr6767c82ed1bde-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-code').style.display = (document.getElementById('cakeErr6767c82ed1bde-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-context').style.display = (document.getElementById('cakeErr6767c82ed1bde-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6767c82ed1bde-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $featurename </span><span style="color: #007700">= </span><span style="color: #0000BB">$parenttitle </span><span style="color: #007700">. </span><span style="color: #0000BB">AttributeHelper</span><span style="color: #007700">::</span><span style="color: #0000BB">getFeatureName</span><span style="color: #007700">(</span><span style="color: #0000BB">$feature</span><span style="color: #007700">) . </span><span style="color: #DD0000">' (' </span><span style="color: #007700">. </span><span style="color: #0000BB">reset</span><span style="color: #007700">(</span><span style="color: #0000BB">$feature</span><span style="color: #007700">-></span><span style="color: #0000BB">politicals</span><span style="color: #007700">[</span><span style="color: #DD0000">'County'</span><span style="color: #007700">]) . </span><span style="color: #DD0000">' County)'</span><span style="color: #007700">;</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #DD0000">"<a href='/feature/</span><span style="color: #007700">{</span><span style="color: #0000BB">$feature</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">}</span><span style="color: #DD0000">'>"</span><span style="color: #007700">;</span></span></code></pre><pre id="cakeErr6767c82ed1bde-context" class="cake-context" style="display: none;">$viewFile = '/var/www/projects/mioutdoors/src/Template/Features/disambig.ctp'
$dataForView = [
'features' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {},
(int) 2 => object(App\Model\Entity\Feature) {},
(int) 3 => object(App\Model\Entity\Feature) {}
],
'name' => 'Central',
'user' => null
]
$features = [
(int) 0 => object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 1 => object(App\Model\Entity\Feature) {
'id' => (int) 13286,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 13260,
'lat' => (float) 42.20428,
'lon' => (float) -85.58984,
'parentname' => '',
'feature_children' => [[maximum depth reached]],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 2 => object(App\Model\Entity\Feature) {
'id' => (int) 2166,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 2158,
'lat' => (float) 43.00979,
'lon' => (float) -85.7737,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 3 => object(App\Model\Entity\Feature) {
'id' => (int) 10954,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 10956,
'lat' => (float) 45.96235,
'lon' => (float) -86.24227,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
}
]
$name = 'Central'
$user = null
$feature = object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {}
],
'feature_parents' => [
(int) 0 => object(App\Model\Entity\Feature) {}
],
'attributes' => [
(int) 0 => [
[maximum depth reached]
],
(int) 1 => [
[maximum depth reached]
],
(int) 2 => [
[maximum depth reached]
],
(int) 3 => [
[maximum depth reached]
],
(int) 4 => [
[maximum depth reached]
],
(int) 5 => [
[maximum depth reached]
]
],
'politicals' => [
'County' => null
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'attributes' => true,
'politicals' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Features'
}
$title = 'Central City Park'
$pols = [
(int) 0 => 'Schoolcraft County'
]
$politicals = [
'Region' => [
(int) 1627 => 'East U.P.'
],
'City' => [
(int) 1106 => 'Manistique'
],
'County' => [
(int) 83 => 'Schoolcraft'
]
]
$county = 'Schoolcraft'
$latlons = ''
$count = (int) 1
$parenttitle = ''</pre><pre class="stack-trace">reset - [internal], line ??
include - APP/Template/Features/disambig.ctp, line 46
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51</pre></div></pre><script> var latlons = [[41.66471,-86.17721,"<a href='/feature/5111'><div title=\"Central City Park ( County)\"><img src='/img/bluemarker.png' /></div></a>"],[42.20428,-85.58984,"<a href='/feature/13286'><div title=\"Central City Park (Kalamazoo County)\"><img src='/img/bluemarker.png' /></div></a>"],[43.00979,-85.7737,"<a href='/feature/2166'><div title=\"Central City Park (Kent County)\"><img src='/img/bluemarker.png' /></div></a>"],[45.96235,-86.24227,"<a href='/feature/10954'><div title=\"Central City Park (Schoolcraft County)\"><img src='/img/bluemarker.png' /></div></a>"]];
var latlng = L.latLng(44.34, -85.58);
var agmap = L.map('feature_map_canvas', {
center: latlng,
zoom: 6});
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
maxZoom: 19,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(agmap);
var markers = [];
var bounds = L.latLngBounds();
var i;
for (i = 0; i < latlons.length; ++i) {
var latLng = L.latLng(latlons[i][0], latlons[i][1]);
bounds.extend(latLng);
var html = '<div style="transform: translate(-50%, -100%);">' + latlons[i][2] + '</div>';
var myIcon = L.divIcon({html: html, className: 'feature-marker-icon'});
var marker = L.marker(latLng, {icon: myIcon}).addTo(agmap);
}
if (latlons.length > 0) {
agmap.fitBounds(bounds);
//google.maps.event.addListenerOnce(agmap, 'zoom_changed', function() {if (agmap.getZoom() > 17) agmap.setZoom(17);});
}
</script><center>Click on a <img src="/img/bluemarker.png" /> to view it.</center></div></div> </div>
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<ul class="mdl-mini-footer__link-list">
<li><a href="/pages/help">Help</a></li>
<li><a href="/pages/links">Links</a></li>
<li><a href="/pages/statistics">Statistics</a></li>
<li><a accesskey="9" href="mailto:outdoormichigan@brucemyers.com">Email</a></li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<ul class="mdl-mini-footer__link-list">
<li> </li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/"><img src="/img/cc080x15.png" style="border-style: none;" alt="CC0" /></a>
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.
</div>
</footer>
</main>
</div>
</body>
</html>
'
}
$reasonPhrase = 'OK' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 148
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/projects/mioutdoors/vendor/cakephp/cakephp/src/Error/Debugger.php:853) [CORE/src/Http/ResponseEmitter.php , line 177 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' ,
$response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Outdoor activities in michigan">
<meta name="keywords" content="recreation,nature,trails,parks,gpx,kml,gps,restrooms,outdoors,michigan">
<title>
Centrals - Outdoor Michigan </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/>
<link rel="stylesheet" href="/css/material.indigo-green.min.css"/>
<link rel="stylesheet" href="/css/home.css"/>
<script src="/js/material.min.js"></script>
<script src="/js/zepto.min.js"></script>
<link rel="stylesheet" href="/css/leaflet.css"/> <script src="/js/leaflet.js"></script></head>
<body>
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
<header class="mdl-layout__header mdl-layout__header--waterfall portfolio-header">
<div class="mdl-layout__header-row">
<div class="mdl-layout-spacer mdl-layout--small-screen-only"></div>
<div style="padding-left: 20px;"><a href="/restrooms"><button type="button" class="mdl-button mdl-js-button mdl-button--icon" title="Restroom Locator"><i class="material-icons" style="color: #FFF;">wc</i></button></a></div>
<div class="mdl-layout-spacer"></div>
<span class="mdl-layout__title"><a href="/" accesskey="1">Outdoor Michigan</a></span>
<div class="mdl-layout-spacer"></div>
<form method="post" accept-charset="utf-8" id="SearchForm" onsubmit="this.action = "/search/" + this["Search[term]"].value" action="/search"><div style="display:none;"><input type="hidden" name="_method" value="POST"/></div> <div class="mdl-textfield mdl-js-textfield mdl-textfield--expandable mdl-textfield--floating-label">
<label class="mdl-button mdl-js-button mdl-button--icon" for="search" title="Search">
<i class="material-icons">search</i>
</label>
<div class="mdl-textfield__expandable-holder">
<input name="Search[term]" class="mdl-textfield__input" type="text" id="search">
<label class="mdl-textfield__label" for="search">Enter a feature name</label>
</div>
</div>
</form> </div>
<div class="mdl-layout__header-row portfolio-navigation-row mdl-layout--large-screen-only">
<nav class="mdl-navigation mdl-typography--body-1-force-preferred-font">
<a href="/" class="mdl-navigation__link">Home</a><a href="/nearhere" class="mdl-navigation__link">Near here</a><a href="/features" class="mdl-navigation__link">Index</a><a href="/highways" class="mdl-navigation__link">Highways</a><a href="/species" class="mdl-navigation__link">Species</a> </nav>
</div>
</header>
<div class="mdl-layout__drawer mdl-layout--small-screen-only">
<nav class="mdl-navigation mdl-typography--body-1-force-preferred-font">
<a href="/" class="mdl-navigation__link is-active">Home</a><a href="/nearhere" class="mdl-navigation__link">Near here</a><a href="/features" class="mdl-navigation__link">Index</a><a href="/highways" class="mdl-navigation__link">Highways</a><a href="/species" class="mdl-navigation__link">Species</a> </nav>
</div>
<main class="mdl-layout__content">
<div class="container clearfix">
<div style="display: flex; flex-wrap: wrap;"><div><a href="/feature/5111">Central City Park</a> <br /><a href="/feature/13286">Central City Park</a> Kalamazoo County<br /><a href="/feature/2166">Central City Park</a> Kent County<br /><a href="/feature/10954">Central City Park</a> Schoolcraft County<br /></div><div><div id="feature_map_canvas"></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-trace').style.display = (document.getElementById('cakeErr6767c82ed1bde-trace').style.display == 'none' ? '' : 'none');"><b>Warning</b> (2)</a>: reset() expects parameter 1 to be array, null given [<b>APP/Template/Features/disambig.ctp</b>, line <b>46</b>]<div id="cakeErr6767c82ed1bde-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-code').style.display = (document.getElementById('cakeErr6767c82ed1bde-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6767c82ed1bde-context').style.display = (document.getElementById('cakeErr6767c82ed1bde-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6767c82ed1bde-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $featurename </span><span style="color: #007700">= </span><span style="color: #0000BB">$parenttitle </span><span style="color: #007700">. </span><span style="color: #0000BB">AttributeHelper</span><span style="color: #007700">::</span><span style="color: #0000BB">getFeatureName</span><span style="color: #007700">(</span><span style="color: #0000BB">$feature</span><span style="color: #007700">) . </span><span style="color: #DD0000">' (' </span><span style="color: #007700">. </span><span style="color: #0000BB">reset</span><span style="color: #007700">(</span><span style="color: #0000BB">$feature</span><span style="color: #007700">-></span><span style="color: #0000BB">politicals</span><span style="color: #007700">[</span><span style="color: #DD0000">'County'</span><span style="color: #007700">]) . </span><span style="color: #DD0000">' County)'</span><span style="color: #007700">;</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $content </span><span style="color: #007700">= </span><span style="color: #DD0000">"<a href='/feature/</span><span style="color: #007700">{</span><span style="color: #0000BB">$feature</span><span style="color: #007700">-></span><span style="color: #0000BB">id</span><span style="color: #007700">}</span><span style="color: #DD0000">'>"</span><span style="color: #007700">;</span></span></code></pre><pre id="cakeErr6767c82ed1bde-context" class="cake-context" style="display: none;">$viewFile = '/var/www/projects/mioutdoors/src/Template/Features/disambig.ctp'
$dataForView = [
'features' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {},
(int) 2 => object(App\Model\Entity\Feature) {},
(int) 3 => object(App\Model\Entity\Feature) {}
],
'name' => 'Central',
'user' => null
]
$features = [
(int) 0 => object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 1 => object(App\Model\Entity\Feature) {
'id' => (int) 13286,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 13260,
'lat' => (float) 42.20428,
'lon' => (float) -85.58984,
'parentname' => '',
'feature_children' => [[maximum depth reached]],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 2 => object(App\Model\Entity\Feature) {
'id' => (int) 2166,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 2158,
'lat' => (float) 43.00979,
'lon' => (float) -85.7737,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
},
(int) 3 => object(App\Model\Entity\Feature) {
'id' => (int) 10954,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 10956,
'lat' => (float) 45.96235,
'lon' => (float) -86.24227,
'parentname' => '',
'feature_children' => [
[maximum depth reached]
],
'feature_parents' => [
[maximum depth reached]
],
'attributes' => [
[maximum depth reached]
],
'politicals' => [
[maximum depth reached]
],
'[new]' => false,
'[accessible]' => [
[maximum depth reached]
],
'[dirty]' => [
[maximum depth reached]
],
'[original]' => [[maximum depth reached]],
'[virtual]' => [[maximum depth reached]],
'[errors]' => [[maximum depth reached]],
'[invalid]' => [[maximum depth reached]],
'[repository]' => 'Features'
}
]
$name = 'Central'
$user = null
$feature = object(App\Model\Entity\Feature) {
'id' => (int) 5111,
'name' => 'Central',
'featuretype_id' => (int) 16,
'geometry_id' => (int) 5105,
'lat' => (float) 41.66471,
'lon' => (float) -86.17721,
'parentname' => '',
'feature_children' => [
(int) 0 => object(App\Model\Entity\Feature) {},
(int) 1 => object(App\Model\Entity\Feature) {}
],
'feature_parents' => [
(int) 0 => object(App\Model\Entity\Feature) {}
],
'attributes' => [
(int) 0 => [
[maximum depth reached]
],
(int) 1 => [
[maximum depth reached]
],
(int) 2 => [
[maximum depth reached]
],
(int) 3 => [
[maximum depth reached]
],
(int) 4 => [
[maximum depth reached]
],
(int) 5 => [
[maximum depth reached]
]
],
'politicals' => [
'County' => null
],
'[new]' => false,
'[accessible]' => [
'*' => true
],
'[dirty]' => [
'attributes' => true,
'politicals' => true
],
'[original]' => [],
'[virtual]' => [],
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Features'
}
$title = 'Central City Park'
$pols = [
(int) 0 => 'Schoolcraft County'
]
$politicals = [
'Region' => [
(int) 1627 => 'East U.P.'
],
'City' => [
(int) 1106 => 'Manistique'
],
'County' => [
(int) 83 => 'Schoolcraft'
]
]
$county = 'Schoolcraft'
$latlons = ''
$count = (int) 1
$parenttitle = ''</pre><pre class="stack-trace">reset - [internal], line ??
include - APP/Template/Features/disambig.ctp, line 46
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1240
Cake\View\View::_render() - CORE/src/View/View.php, line 1201
Cake\View\View::render() - CORE/src/View/View.php, line 803
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 790
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 126
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 235
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 156
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 98
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51</pre></div></pre><script> var latlons = [[41.66471,-86.17721,"<a href='/feature/5111'><div title=\"Central City Park ( County)\"><img src='/img/bluemarker.png' /></div></a>"],[42.20428,-85.58984,"<a href='/feature/13286'><div title=\"Central City Park (Kalamazoo County)\"><img src='/img/bluemarker.png' /></div></a>"],[43.00979,-85.7737,"<a href='/feature/2166'><div title=\"Central City Park (Kent County)\"><img src='/img/bluemarker.png' /></div></a>"],[45.96235,-86.24227,"<a href='/feature/10954'><div title=\"Central City Park (Schoolcraft County)\"><img src='/img/bluemarker.png' /></div></a>"]];
var latlng = L.latLng(44.34, -85.58);
var agmap = L.map('feature_map_canvas', {
center: latlng,
zoom: 6});
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
{
maxZoom: 19,
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}).addTo(agmap);
var markers = [];
var bounds = L.latLngBounds();
var i;
for (i = 0; i < latlons.length; ++i) {
var latLng = L.latLng(latlons[i][0], latlons[i][1]);
bounds.extend(latLng);
var html = '<div style="transform: translate(-50%, -100%);">' + latlons[i][2] + '</div>';
var myIcon = L.divIcon({html: html, className: 'feature-marker-icon'});
var marker = L.marker(latLng, {icon: myIcon}).addTo(agmap);
}
if (latlons.length > 0) {
agmap.fitBounds(bounds);
//google.maps.event.addListenerOnce(agmap, 'zoom_changed', function() {if (agmap.getZoom() > 17) agmap.setZoom(17);});
}
</script><center>Click on a <img src="/img/bluemarker.png" /> to view it.</center></div></div> </div>
<footer class="mdl-mini-footer">
<div class="mdl-mini-footer__left-section">
<ul class="mdl-mini-footer__link-list">
<li><a href="/pages/help">Help</a></li>
<li><a href="/pages/links">Links</a></li>
<li><a href="/pages/statistics">Statistics</a></li>
<li><a accesskey="9" href="mailto:outdoormichigan@brucemyers.com">Email</a></li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<ul class="mdl-mini-footer__link-list">
<li> </li>
</ul>
</div>
<div class="mdl-mini-footer__right-section">
<a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/"><img src="/img/cc080x15.png" style="border-style: none;" alt="CC0" /></a>
To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work.
</div>
</footer>
</main>
</div>
</body>
</html>
'
}
$cookies = []
$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 177
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 141
[main] - ROOT/webroot/index.php, line 40
Centrals - Outdoor Michigan