Public Golf Courses
AARP Events SnapshotSM
Sign up today to get invites to free, fun & interactive online events.
I'M IN
Warning (2): include(/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.head.html) [<a href='http://php.net/function.include'>function.include</a>]: failed to open stream: No such file or directory [APP/View/Layouts/aarp_2023.ctp, line 53]Code Context<?php // if (!$nowrapper) (Globals::$language == 'es') ? include(APP . "/Resource/aarpe_global_js_es.html") : include(APP . "/Resource/aarpe_global_js.html"); ?>
<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.head.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = ''include - APP/View/Layouts/aarp_2023.ctp, line 53 include - APP/View/Layouts/aarp_2023.ctp, line 53 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.head.html' for inclusion (include_path='/var/www/vhosts/vcc_staging/lib:.:/usr/share/pear:/usr/share/php') [APP/View/Layouts/aarp_2023.ctp, line 53]Code Context<?php // if (!$nowrapper) (Globals::$language == 'es') ? include(APP . "/Resource/aarpe_global_js_es.html") : include(APP . "/Resource/aarpe_global_js.html"); ?>
<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.head.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = ''include - APP/View/Layouts/aarp_2023.ctp, line 53 include - APP/View/Layouts/aarp_2023.ctp, line 53 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include(/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.resource.root.html) [<a href='http://php.net/function.include'>function.include</a>]: failed to open stream: No such file or directory [APP/View/Layouts/aarp_2023.ctp, line 54]Code Context<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.head.html");
include (APP . "Resource/aarp2_master.resource.root.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = ''include - APP/View/Layouts/aarp_2023.ctp, line 54 include - APP/View/Layouts/aarp_2023.ctp, line 54 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.resource.root.html' for inclusion (include_path='/var/www/vhosts/vcc_staging/lib:.:/usr/share/pear:/usr/share/php') [APP/View/Layouts/aarp_2023.ctp, line 54]Code Context<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.head.html");
include (APP . "Resource/aarp2_master.resource.root.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = ''include - APP/View/Layouts/aarp_2023.ctp, line 54 include - APP/View/Layouts/aarp_2023.ctp, line 54 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!
Submit a Public Golf CourseNotice (1024): E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505]Code Context} catch (MongoException $e) {
$this->error = $e->getMessage();
trigger_error($this->error);
$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933
Monday, Dec 2, 2024 at 11:00 a.m. ET
Zoom
Online Event
Wednesday, Dec 4, 2024 at 5:00 p.m. ET
Online Event
Monday, Dec 9, 2024 at 11:00 a.m. ET
Zoom
Online Event
Warning (2): include(/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.footer.html) [<a href='http://php.net/function.include'>function.include</a>]: failed to open stream: No such file or directory [APP/View/Layouts/aarp_2023.ctp, line 242]Code Context<?php // if (!$nowrapper) (Globals::$language == 'es') ? include(APP . "/Resource/aarpe_footer_es.html") : include(APP . "/Resource/aarpe_footer.html"); ?>
<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.footer.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = '' $highlighting = '' $location = '<a href="/hermitage-pa/?intcmp=CSN-LOCAL-NAV-HOME">Hermitage, PA</a>' $no_header = false $header_title = 'Public Golf Courses' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class="active"><a role="menuitem" class="menuitem" href="/hermitage-pa/things-to-do/?intcmp=CSN-LOCAL-NAV-TTD" data-formelementid="LOCAL-LNK-CLK-THINGSTODO">Things to Do</a></li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/happenings/?intcmp=CSN-LOCAL-NAV-NF" data-formelementid="LOCAL-LNK-CLK-HAPPENINGS">News Feed</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/volunteering/?intcmp=CSN-LOCAL-NAV-VOL" data-formelementid="LOCAL-LNK-CLK-VOLUNTEERING">Volunteering</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/home-and-community/?intcmp=CSN-LOCAL-NAV-HC" data-formelementid="LOCAL-LNK-CLK-HC">Home & Community</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/movies/?intcmp=CSN-LOCAL-NAV-MFG" data-formelementid="LOCAL-LNK-CLK-MOVIESFORGROWNUPS">Movies for Grownups</a> </li> <li role="presentation" class="more nosep " id="submenu-more"> <span role="menuitem" class="menuitem" data-formelementid="LOCAL-LNK-CLK-MORE">More<i class="fas fa-chevron-down"></i></span> <ul class="secondary-submenu animate slide-in" id="secondary-submenu"> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/discounts/?intcmp=CSN-LOCAL-NAV-LO" data-formelementid="LOCAL-LNK-CLK-OFFERS">Local Offers</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/local-resources/?intcmp=CSN-LOCAL-NAV-LR" data-formelementid="LOCAL-LNK-CLK-LOCALRESOURCES">Local Resources</a> </li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/jobs/?intcmp=CSN-LOCAL-NAV-WJ" data-formelementid="LOCAL-LNK-CLK-WORK&JOBS">Work & Jobs</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/events/?intcmp=CSN-LOCAL-NAV-CC" data-formelementid="LOCAL-LNK-CLK-EVENTS">Community Calendar</a></li> <!-- <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/healthy-living/?intcmp=CSN-LOCAL-NAV-HEALTHY_LIVING" data-formelementid="LOCAL-LNK-CLK-HEALTHY_LIVING">Healthy Living</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/arts-entertainment/?intcmp=CSN-LOCAL-NAV-ARTS_ENT" data-formelementid="LOCAL-LNK-CLK-ARTS_ENT">Arts & Entertainment</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </nav>' $header_custom = '' $breadcrumbs = array( (int) 0 => array( 'title' => 'Things to Do', 'slug' => 'things-to-do' ) ) $row = array( 'title' => 'Back to Things to Do', 'slug' => 'things-to-do' ) $i = (int) 0include - APP/View/Layouts/aarp_2023.ctp, line 242 include - APP/View/Layouts/aarp_2023.ctp, line 242 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.footer.html' for inclusion (include_path='/var/www/vhosts/vcc_staging/lib:.:/usr/share/pear:/usr/share/php') [APP/View/Layouts/aarp_2023.ctp, line 242]Code Context<?php // if (!$nowrapper) (Globals::$language == 'es') ? include(APP . "/Resource/aarpe_footer_es.html") : include(APP . "/Resource/aarpe_footer.html"); ?>
<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.footer.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = '' $highlighting = '' $location = '<a href="/hermitage-pa/?intcmp=CSN-LOCAL-NAV-HOME">Hermitage, PA</a>' $no_header = false $header_title = 'Public Golf Courses' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class="active"><a role="menuitem" class="menuitem" href="/hermitage-pa/things-to-do/?intcmp=CSN-LOCAL-NAV-TTD" data-formelementid="LOCAL-LNK-CLK-THINGSTODO">Things to Do</a></li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/happenings/?intcmp=CSN-LOCAL-NAV-NF" data-formelementid="LOCAL-LNK-CLK-HAPPENINGS">News Feed</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/volunteering/?intcmp=CSN-LOCAL-NAV-VOL" data-formelementid="LOCAL-LNK-CLK-VOLUNTEERING">Volunteering</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/home-and-community/?intcmp=CSN-LOCAL-NAV-HC" data-formelementid="LOCAL-LNK-CLK-HC">Home & Community</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/movies/?intcmp=CSN-LOCAL-NAV-MFG" data-formelementid="LOCAL-LNK-CLK-MOVIESFORGROWNUPS">Movies for Grownups</a> </li> <li role="presentation" class="more nosep " id="submenu-more"> <span role="menuitem" class="menuitem" data-formelementid="LOCAL-LNK-CLK-MORE">More<i class="fas fa-chevron-down"></i></span> <ul class="secondary-submenu animate slide-in" id="secondary-submenu"> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/discounts/?intcmp=CSN-LOCAL-NAV-LO" data-formelementid="LOCAL-LNK-CLK-OFFERS">Local Offers</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/local-resources/?intcmp=CSN-LOCAL-NAV-LR" data-formelementid="LOCAL-LNK-CLK-LOCALRESOURCES">Local Resources</a> </li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/jobs/?intcmp=CSN-LOCAL-NAV-WJ" data-formelementid="LOCAL-LNK-CLK-WORK&JOBS">Work & Jobs</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/events/?intcmp=CSN-LOCAL-NAV-CC" data-formelementid="LOCAL-LNK-CLK-EVENTS">Community Calendar</a></li> <!-- <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/healthy-living/?intcmp=CSN-LOCAL-NAV-HEALTHY_LIVING" data-formelementid="LOCAL-LNK-CLK-HEALTHY_LIVING">Healthy Living</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/arts-entertainment/?intcmp=CSN-LOCAL-NAV-ARTS_ENT" data-formelementid="LOCAL-LNK-CLK-ARTS_ENT">Arts & Entertainment</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </nav>' $header_custom = '' $breadcrumbs = array( (int) 0 => array( 'title' => 'Things to Do', 'slug' => 'things-to-do' ) ) $row = array( 'title' => 'Back to Things to Do', 'slug' => 'things-to-do' ) $i = (int) 0include - APP/View/Layouts/aarp_2023.ctp, line 242 include - APP/View/Layouts/aarp_2023.ctp, line 242 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include(/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.bodyTargeting.html) [<a href='http://php.net/function.include'>function.include</a>]: failed to open stream: No such file or directory [APP/View/Layouts/aarp_2023.ctp, line 243]Code Context<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.footer.html");
include (APP . "Resource/aarp2_master.bodyTargeting.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = '' $highlighting = '' $location = '<a href="/hermitage-pa/?intcmp=CSN-LOCAL-NAV-HOME">Hermitage, PA</a>' $no_header = false $header_title = 'Public Golf Courses' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class="active"><a role="menuitem" class="menuitem" href="/hermitage-pa/things-to-do/?intcmp=CSN-LOCAL-NAV-TTD" data-formelementid="LOCAL-LNK-CLK-THINGSTODO">Things to Do</a></li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/happenings/?intcmp=CSN-LOCAL-NAV-NF" data-formelementid="LOCAL-LNK-CLK-HAPPENINGS">News Feed</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/volunteering/?intcmp=CSN-LOCAL-NAV-VOL" data-formelementid="LOCAL-LNK-CLK-VOLUNTEERING">Volunteering</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/home-and-community/?intcmp=CSN-LOCAL-NAV-HC" data-formelementid="LOCAL-LNK-CLK-HC">Home & Community</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/movies/?intcmp=CSN-LOCAL-NAV-MFG" data-formelementid="LOCAL-LNK-CLK-MOVIESFORGROWNUPS">Movies for Grownups</a> </li> <li role="presentation" class="more nosep " id="submenu-more"> <span role="menuitem" class="menuitem" data-formelementid="LOCAL-LNK-CLK-MORE">More<i class="fas fa-chevron-down"></i></span> <ul class="secondary-submenu animate slide-in" id="secondary-submenu"> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/discounts/?intcmp=CSN-LOCAL-NAV-LO" data-formelementid="LOCAL-LNK-CLK-OFFERS">Local Offers</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/local-resources/?intcmp=CSN-LOCAL-NAV-LR" data-formelementid="LOCAL-LNK-CLK-LOCALRESOURCES">Local Resources</a> </li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/jobs/?intcmp=CSN-LOCAL-NAV-WJ" data-formelementid="LOCAL-LNK-CLK-WORK&JOBS">Work & Jobs</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/events/?intcmp=CSN-LOCAL-NAV-CC" data-formelementid="LOCAL-LNK-CLK-EVENTS">Community Calendar</a></li> <!-- <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/healthy-living/?intcmp=CSN-LOCAL-NAV-HEALTHY_LIVING" data-formelementid="LOCAL-LNK-CLK-HEALTHY_LIVING">Healthy Living</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/arts-entertainment/?intcmp=CSN-LOCAL-NAV-ARTS_ENT" data-formelementid="LOCAL-LNK-CLK-ARTS_ENT">Arts & Entertainment</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </nav>' $header_custom = '' $breadcrumbs = array( (int) 0 => array( 'title' => 'Things to Do', 'slug' => 'things-to-do' ) ) $row = array( 'title' => 'Back to Things to Do', 'slug' => 'things-to-do' ) $i = (int) 0include - APP/View/Layouts/aarp_2023.ctp, line 243 include - APP/View/Layouts/aarp_2023.ctp, line 243 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.bodyTargeting.html' for inclusion (include_path='/var/www/vhosts/vcc_staging/lib:.:/usr/share/pear:/usr/share/php') [APP/View/Layouts/aarp_2023.ctp, line 243]Code Context<?php if (!$nowrapper): // MLW - Spanish wrappers TBD
include (APP . "Resource/aarp2_master.footer.html");
include (APP . "Resource/aarp2_master.bodyTargeting.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = '' $highlighting = '' $location = '<a href="/hermitage-pa/?intcmp=CSN-LOCAL-NAV-HOME">Hermitage, PA</a>' $no_header = false $header_title = 'Public Golf Courses' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class="active"><a role="menuitem" class="menuitem" href="/hermitage-pa/things-to-do/?intcmp=CSN-LOCAL-NAV-TTD" data-formelementid="LOCAL-LNK-CLK-THINGSTODO">Things to Do</a></li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/happenings/?intcmp=CSN-LOCAL-NAV-NF" data-formelementid="LOCAL-LNK-CLK-HAPPENINGS">News Feed</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/volunteering/?intcmp=CSN-LOCAL-NAV-VOL" data-formelementid="LOCAL-LNK-CLK-VOLUNTEERING">Volunteering</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/home-and-community/?intcmp=CSN-LOCAL-NAV-HC" data-formelementid="LOCAL-LNK-CLK-HC">Home & Community</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/movies/?intcmp=CSN-LOCAL-NAV-MFG" data-formelementid="LOCAL-LNK-CLK-MOVIESFORGROWNUPS">Movies for Grownups</a> </li> <li role="presentation" class="more nosep " id="submenu-more"> <span role="menuitem" class="menuitem" data-formelementid="LOCAL-LNK-CLK-MORE">More<i class="fas fa-chevron-down"></i></span> <ul class="secondary-submenu animate slide-in" id="secondary-submenu"> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/discounts/?intcmp=CSN-LOCAL-NAV-LO" data-formelementid="LOCAL-LNK-CLK-OFFERS">Local Offers</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/local-resources/?intcmp=CSN-LOCAL-NAV-LR" data-formelementid="LOCAL-LNK-CLK-LOCALRESOURCES">Local Resources</a> </li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/jobs/?intcmp=CSN-LOCAL-NAV-WJ" data-formelementid="LOCAL-LNK-CLK-WORK&JOBS">Work & Jobs</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/events/?intcmp=CSN-LOCAL-NAV-CC" data-formelementid="LOCAL-LNK-CLK-EVENTS">Community Calendar</a></li> <!-- <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/healthy-living/?intcmp=CSN-LOCAL-NAV-HEALTHY_LIVING" data-formelementid="LOCAL-LNK-CLK-HEALTHY_LIVING">Healthy Living</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/arts-entertainment/?intcmp=CSN-LOCAL-NAV-ARTS_ENT" data-formelementid="LOCAL-LNK-CLK-ARTS_ENT">Arts & Entertainment</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </nav>' $header_custom = '' $breadcrumbs = array( (int) 0 => array( 'title' => 'Things to Do', 'slug' => 'things-to-do' ) ) $row = array( 'title' => 'Back to Things to Do', 'slug' => 'things-to-do' ) $i = (int) 0include - APP/View/Layouts/aarp_2023.ctp, line 243 include - APP/View/Layouts/aarp_2023.ctp, line 243 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include(/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.resource.footer.root.html) [<a href='http://php.net/function.include'>function.include</a>]: failed to open stream: No such file or directory [APP/View/Layouts/aarp_2023.ctp, line 244]Code Contextinclude (APP . "Resource/aarp2_master.footer.html");
include (APP . "Resource/aarp2_master.bodyTargeting.html");
include (APP . "Resource/aarp2_master.resource.footer.root.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = '' $highlighting = '' $location = '<a href="/hermitage-pa/?intcmp=CSN-LOCAL-NAV-HOME">Hermitage, PA</a>' $no_header = false $header_title = 'Public Golf Courses' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class="active"><a role="menuitem" class="menuitem" href="/hermitage-pa/things-to-do/?intcmp=CSN-LOCAL-NAV-TTD" data-formelementid="LOCAL-LNK-CLK-THINGSTODO">Things to Do</a></li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/happenings/?intcmp=CSN-LOCAL-NAV-NF" data-formelementid="LOCAL-LNK-CLK-HAPPENINGS">News Feed</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/volunteering/?intcmp=CSN-LOCAL-NAV-VOL" data-formelementid="LOCAL-LNK-CLK-VOLUNTEERING">Volunteering</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/home-and-community/?intcmp=CSN-LOCAL-NAV-HC" data-formelementid="LOCAL-LNK-CLK-HC">Home & Community</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/movies/?intcmp=CSN-LOCAL-NAV-MFG" data-formelementid="LOCAL-LNK-CLK-MOVIESFORGROWNUPS">Movies for Grownups</a> </li> <li role="presentation" class="more nosep " id="submenu-more"> <span role="menuitem" class="menuitem" data-formelementid="LOCAL-LNK-CLK-MORE">More<i class="fas fa-chevron-down"></i></span> <ul class="secondary-submenu animate slide-in" id="secondary-submenu"> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/discounts/?intcmp=CSN-LOCAL-NAV-LO" data-formelementid="LOCAL-LNK-CLK-OFFERS">Local Offers</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/local-resources/?intcmp=CSN-LOCAL-NAV-LR" data-formelementid="LOCAL-LNK-CLK-LOCALRESOURCES">Local Resources</a> </li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/jobs/?intcmp=CSN-LOCAL-NAV-WJ" data-formelementid="LOCAL-LNK-CLK-WORK&JOBS">Work & Jobs</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/events/?intcmp=CSN-LOCAL-NAV-CC" data-formelementid="LOCAL-LNK-CLK-EVENTS">Community Calendar</a></li> <!-- <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/healthy-living/?intcmp=CSN-LOCAL-NAV-HEALTHY_LIVING" data-formelementid="LOCAL-LNK-CLK-HEALTHY_LIVING">Healthy Living</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/arts-entertainment/?intcmp=CSN-LOCAL-NAV-ARTS_ENT" data-formelementid="LOCAL-LNK-CLK-ARTS_ENT">Arts & Entertainment</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </nav>' $header_custom = '' $breadcrumbs = array( (int) 0 => array( 'title' => 'Things to Do', 'slug' => 'things-to-do' ) ) $row = array( 'title' => 'Back to Things to Do', 'slug' => 'things-to-do' ) $i = (int) 0include - APP/View/Layouts/aarp_2023.ctp, line 244 include - APP/View/Layouts/aarp_2023.ctp, line 244 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/vcc_staging/app/Resource/aarp2_master.resource.footer.root.html' for inclusion (include_path='/var/www/vhosts/vcc_staging/lib:.:/usr/share/pear:/usr/share/php') [APP/View/Layouts/aarp_2023.ctp, line 244]Code Contextinclude (APP . "Resource/aarp2_master.footer.html");
include (APP . "Resource/aarp2_master.bodyTargeting.html");
include (APP . "Resource/aarp2_master.resource.footer.root.html");
$viewFile = '/var/www/vhosts/vcc_staging/app/View/Layouts/aarp_2023.ctp' $dataForView = array( 'content_for_layout' => '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ', 'scripts_for_layout' => '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ', 'title_for_layout' => 'Public Golf Courses around {local_city_c}, {local_state} - AARP' ) $content_for_layout = '<div class="row twoColumnLayout"> <div class="col-md-8 left-rail"><div class="module clearfix"><div class="module-spacer"> <img alt="A man and woman walking on a golf course, enjoying a sunny day outdoors" title="A man and woman walking on a golf course, enjoying a sunny day outdoors" src="https://cdn-aarp.americantowns.com/img/ttd/summer24/ttd-golf-courses-skinny.jpg" class="img-responsive"> </div></div><div class="module clearfix"><div class="module-spacer places-search map-module"> <div class="row"> <div class="col-sm-7"> <div class="places-map"></div> </div> <div class="col-sm-5"> <input type="hidden" value="" id="mapLat"> <input type="hidden" value="" id="mapLng"> <div id="params" class="hidden">{"tags":"public-golf-course","radius":"100","keyword":"","show":10,"page":"","sef":"","intcmp":"CSN-LOCAL-TTDGC-05212024","images":"yes","more":"yes","parsed_tags":{"tags":"public-golf-course"},"has_next_page":true,"lat":41.23350143432617,"lng":-80.44419860839844,"navigation":"\/ajax\/places\/navigate\/"}</div> <div class="media-wrapper places-listing-wrapper module"> <div class="media-listing list-group"> <div class="narrow places-item list-group-item" data-latitude="41.237202" data-longitude="-80.408699" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/vfw-golf-course-hermitage-pa.html">VFW Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.194302" data-longitude="-80.4561" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/tam-oshanter-golf-course-hermitage-pa.html">Tam O'Shanter Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.247501" data-longitude="-80.487602" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/sharon-country-club-golf-course-sharon-ma.html">Sharon Country Club Golf Course</a></h4> <div class="location text-gray small truncate">Sharon, MA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.248501" data-longitude="-80.487701" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/buhl-farm-golf-course-hermitage-pa.html">Buhl Farm Golf Course</a></h4> <div class="location text-gray small truncate">Hermitage, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.306198" data-longitude="-80.418999" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/shenango-lake-golf-club-transfer-pa.html">Shenango Lake Golf Club</a></h4> <div class="location text-gray small truncate">Transfer, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.2313" data-longitude="-80.539001" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/yankee-run-golf-course-brookfield-oh.html">Yankee Run Golf Course</a></h4> <div class="location text-gray small truncate">Brookfield, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.165298" data-longitude="-80.538902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/deer-creek-golf-course-hubbard-oh.html">Deer Creek Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1534" data-longitude="-80.5308" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/donnybrook-golf-course-hubbard-oh.html">Donnybrook Golf Course</a></h4> <div class="location text-gray small truncate">Hubbard, OH</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.134201" data-longitude="-80.518997" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/oak-tree-golf-club-west-middlesex-pa.html">Oak Tree Golf Club</a></h4> <div class="location text-gray small truncate">West Middlesex, PA</div> </div> <div class="narrow places-item list-group-item" data-latitude="41.1315" data-longitude="-80.371902" data-marker-image="https://cdn-aarp.americantowns.com/img/marker-pin-blue.png" > <h4 class="media-heading truncate"><a class="text-secondary" href="/place/borland-golf-center-new-wilmington-pa.html">Borland Golf Center</a></h4> <div class="location text-gray small truncate">New Wilmington, PA</div> </div> </div> <div class="clearfix btn-group btn-block places-navigation" role="group"> <button type="button" class="btn btn-light col-xs-6 text-secondary places-back disabled">Back</button> <button type="button" class="btn btn-light col-xs-6 text-secondary places-next">Next</button> </div> </div> <div class="pbgoogle"><span class="pbgoogle_text">Page content</span><img alt="green-pin" src="https://maps.gstatic.com/mapfiles/api-3/images/powered-by-google-on-white2.png" /></div> </div> </div> </div> </div><div class="module clearfix"><div class="module-spacer"> <p>Is there another public golf course that we should know about? Share it with us so your neighbors can learn about it too!</p> <a class="btn" href="/hermitage-pa/recommendation/?name=public+golf+course">Submit a Public Golf Course</a> </div></div></div> <div class="col-md-4 right-rail thin-rhs"><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-trace').style.display = (document.getElementById('cakeErr6747cd00e2e1b-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (1024)</a>: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } [<b>APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php</b>, line <b>505</b>]<div id="cakeErr6747cd00e2e1b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-code').style.display = (document.getElementById('cakeErr6747cd00e2e1b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6747cd00e2e1b-context').style.display = (document.getElementById('cakeErr6747cd00e2e1b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6747cd00e2e1b-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} catch (</span><span style="color: #0000BB">MongoException $e</span><span style="color: #007700">) {</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">error </span><span style="color: #007700">= </span><span style="color: #0000BB">$e</span><span style="color: #007700">-></span><span style="color: #0000BB">getMessage</span><span style="color: #007700">();</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> trigger_error</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">error</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6747cd00e2e1b-context" class="cake-context" style="display: none;">$Model = object(EventCache) { primaryKey => '_id' useTable => 'events_cache' useDbConfig => 'mongo' id => false data => array( 'EventCache' => array( [maximum depth reached] ) ) schemaName => null table => 'events_cache' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventCache' alias => 'EventCache' tableToModel => array( 'events_cache' => 'EventCache' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => false findQueryType => null recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( '_id' => array( [maximum depth reached] ), 'created' => array( [maximum depth reached] ), 'modified' => array( [maximum depth reached] ), 'data' => array( [maximum depth reached] ), 'params' => array( [maximum depth reached] ) ) [protected] _associationKeys => array( 'belongsTo' => array( [maximum depth reached] ), 'hasOne' => array( [maximum depth reached] ), 'hasMany' => array( [maximum depth reached] ), 'hasAndBelongsToMany' => array( [maximum depth reached] ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => object(ModelValidator) {} } $fields = array( (int) 0 => '_id', (int) 1 => 'data', (int) 2 => 'params', (int) 3 => 'modified', (int) 4 => 'created' ) $values = array( (int) 0 => '0ab73bcc12c94e0c93685dc6cfad842c', (int) 1 => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), (int) 2 => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', (int) 3 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, (int) 4 => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $data = array( '_id' => '0ab73bcc12c94e0c93685dc6cfad842c', 'data' => array( (int) 0 => array( 'Event' => array( [maximum depth reached] ) ), (int) 1 => array( 'Event' => array( [maximum depth reached] ) ), (int) 2 => array( 'Event' => array( [maximum depth reached] ) ) ), 'params' => '{"show":3,"title":"AARP Events for Hermitage","page":1,"show_limit":3,"limit":15,"images":"yes","max-days":365,"max-miles":45,"min":50,"more":"yes","lat":41.23350143432617,"lng":-80.44419860839844,"latlng":"41.233501434326,-80.444198608398","featured_first":true,"aarp_events":true,"radius":100}', 'modified' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 }, 'created' => object(MongoDate) { sec => (int) 1732758784 usec => (int) 918000 } ) $e = object(MongoDuplicateKeyException) { xdebug_message => '<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> MongoDuplicateKeyException: E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" } in /var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php on line <i>86</i></th></tr> <tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr> <tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left' bgcolor='#eeeeec'>Time</th><th align='left' bgcolor='#eeeeec'>Memory</th><th align='left' bgcolor='#eeeeec'>Function</th><th align='left' bgcolor='#eeeeec'>Location</th></tr> <tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec' align='center'>0.0003</td><td bgcolor='#eeeeec' align='right'>412336</td><td bgcolor='#eeeeec'>{main}( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>0</td></tr> <tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec' align='center'>0.0243</td><td bgcolor='#eeeeec' align='right'>3006072</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/app/webroot/index.php' bgcolor='#eeeeec'>.../index.php<b>:</b>118</td></tr> <tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec' align='center'>0.0317</td><td bgcolor='#eeeeec' align='right'>3684104</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850056</td><td bgcolor='#eeeeec'>TownsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850184</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>6</td><td bgcolor='#eeeeec' align='center'>0.0342</td><td bgcolor='#eeeeec' align='right'>3850192</td><td bgcolor='#eeeeec'>TownsController->displayTown( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>7</td><td bgcolor='#eeeeec' align='center'>0.0358</td><td bgcolor='#eeeeec' align='right'>3967408</td><td bgcolor='#eeeeec'>TownsController->renderPage( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/TownsController.php' bgcolor='#eeeeec'>.../TownsController.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>8</td><td bgcolor='#eeeeec' align='center'>0.0373</td><td bgcolor='#eeeeec' align='right'>4025696</td><td bgcolor='#eeeeec'>TownsController->render( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/AppController.php' bgcolor='#eeeeec'>.../AppController.php<b>:</b>136</td></tr> <tr><td bgcolor='#eeeeec' align='center'>9</td><td bgcolor='#eeeeec' align='center'>0.0413</td><td bgcolor='#eeeeec' align='right'>4419352</td><td bgcolor='#eeeeec'>View->render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>963</td></tr> <tr><td bgcolor='#eeeeec' align='center'>10</td><td bgcolor='#eeeeec' align='center'>0.0414</td><td bgcolor='#eeeeec' align='right'>4429344</td><td bgcolor='#eeeeec'>View->_render( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>473</td></tr> <tr><td bgcolor='#eeeeec' align='center'>11</td><td bgcolor='#eeeeec' align='center'>0.0415</td><td bgcolor='#eeeeec' align='right'>4430280</td><td bgcolor='#eeeeec'>View->_evaluate( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>933</td></tr> <tr><td bgcolor='#eeeeec' align='center'>12</td><td bgcolor='#eeeeec' align='center'>0.0417</td><td bgcolor='#eeeeec' align='right'>4459208</td><td bgcolor='#eeeeec'>include( <font color='#00bb00'>'/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp'</font> )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/View/View.php' bgcolor='#eeeeec'>.../View.php<b>:</b>971</td></tr> <tr><td bgcolor='#eeeeec' align='center'>13</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/View/Elements/display.ctp' bgcolor='#eeeeec'>.../display.ctp<b>:</b>13</td></tr> <tr><td bgcolor='#eeeeec' align='center'>14</td><td bgcolor='#eeeeec' align='center'>0.0806</td><td bgcolor='#eeeeec' align='right'>6796504</td><td bgcolor='#eeeeec'>Localize::replace( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>9</td></tr> <tr><td bgcolor='#eeeeec' align='center'>15</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Localize::getModule( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>219</td></tr> <tr><td bgcolor='#eeeeec' align='center'>16</td><td bgcolor='#eeeeec' align='center'>0.0807</td><td bgcolor='#eeeeec' align='right'>6800256</td><td bgcolor='#eeeeec'>Modules::load( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Localize.php' bgcolor='#eeeeec'>.../Localize.php<b>:</b>294</td></tr> <tr><td bgcolor='#eeeeec' align='center'>17</td><td bgcolor='#eeeeec' align='center'>0.0809</td><td bgcolor='#eeeeec' align='right'>6803528</td><td bgcolor='#eeeeec'>Modules::render( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>29</td></tr> <tr><td bgcolor='#eeeeec' align='center'>18</td><td bgcolor='#eeeeec' align='center'>0.0811</td><td bgcolor='#eeeeec' align='right'>6804472</td><td bgcolor='#eeeeec'>CakeObject->requestAction( )</td><td title='/var/www/vhosts/vcc_staging/app/Lib/Modules.php' bgcolor='#eeeeec'>.../Modules.php<b>:</b>17</td></tr> <tr><td bgcolor='#eeeeec' align='center'>19</td><td bgcolor='#eeeeec' align='center'>0.0813</td><td bgcolor='#eeeeec' align='right'>6806016</td><td bgcolor='#eeeeec'>Dispatcher->dispatch( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Core/CakeObject.php' bgcolor='#eeeeec'>.../CakeObject.php<b>:</b>104</td></tr> <tr><td bgcolor='#eeeeec' align='center'>20</td><td bgcolor='#eeeeec' align='center'>0.0851</td><td bgcolor='#eeeeec' align='right'>7213928</td><td bgcolor='#eeeeec'>Dispatcher->_invoke( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>167</td></tr> <tr><td bgcolor='#eeeeec' align='center'>21</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344672</td><td bgcolor='#eeeeec'>EventsController->invokeAction( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Routing/Dispatcher.php' bgcolor='#eeeeec'>.../Dispatcher.php<b>:</b>193</td></tr> <tr><td bgcolor='#eeeeec' align='center'>22</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344800</td><td bgcolor='#eeeeec'><a href='http://www.php.net/ReflectionMethod.invokeArgs' target='_new'>invokeArgs</a> ( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>23</td><td bgcolor='#eeeeec' align='center'>0.0875</td><td bgcolor='#eeeeec' align='right'>7344808</td><td bgcolor='#eeeeec'>EventsController->aarp_events_rhs( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Controller/Controller.php' bgcolor='#eeeeec'>.../Controller.php<b>:</b>491</td></tr> <tr><td bgcolor='#eeeeec' align='center'>24</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598552</td><td bgcolor='#eeeeec'>EventCache->save( )</td><td title='/var/www/vhosts/vcc_staging/app/Controller/EventsController.php' bgcolor='#eeeeec'>.../EventsController.php<b>:</b>485</td></tr> <tr><td bgcolor='#eeeeec' align='center'>25</td><td bgcolor='#eeeeec' align='center'>0.1307</td><td bgcolor='#eeeeec' align='right'>7598928</td><td bgcolor='#eeeeec'>EventCache->_doSave( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1760</td></tr> <tr><td bgcolor='#eeeeec' align='center'>26</td><td bgcolor='#eeeeec' align='center'>0.1386</td><td bgcolor='#eeeeec' align='right'>7832096</td><td bgcolor='#eeeeec'>MongodbSource->create( )</td><td title='/var/www/vhosts/vcc_staging/lib/Cake/Model/Model.php' bgcolor='#eeeeec'>.../Model.php<b>:</b>1942</td></tr> <tr><td bgcolor='#eeeeec' align='center'>27</td><td bgcolor='#eeeeec' align='center'>0.1389</td><td bgcolor='#eeeeec' align='right'>7832976</td><td bgcolor='#eeeeec'>MongoCollection->insert( )</td><td title='/var/www/vhosts/vcc_staging/app/Plugin/Mongodb/Model/Datasource/MongodbSource.php' bgcolor='#eeeeec'>.../MongodbSource.php<b>:</b>497</td></tr> ' [protected] message => 'E11000 duplicate key error collection: aarp.events_cache index: _id_ dup key: { : "0ab73bcc12c94e0c93685dc6cfad842c" }' [protected] code => (int) 11000 [protected] file => '/var/www/vhosts/vcc_staging/app/Vendor/alcaeus/mongo-php-adapter/lib/Alcaeus/MongoDbAdapter/ExceptionConverter.php' [protected] line => (int) 86 }</pre><pre class="stack-trace">MongodbSource::create() - APP/Plugin/Mongodb/Model/Datasource/MongodbSource.php, line 505 Model::_doSave() - CORE/Cake/Model/Model.php, line 1942 Model::save() - CORE/Cake/Model/Model.php, line 1760 EventsController::aarp_events_rhs() - APP/Controller/EventsController.php, line 485 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 CakeObject::requestAction() - CORE/Cake/Core/CakeObject.php, line 104 Modules::render() - APP/Lib/Modules.php, line 17 Modules::load() - APP/Lib/Modules.php, line 29 Localize::getModule() - APP/Lib/Localize.php, line 294 Localize::replace() - APP/Lib/Localize.php, line 219 Modules::render() - APP/Lib/Modules.php, line 9 include - APP/View/Elements/display.ctp, line 13 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933</pre></div></pre><div class="module clearfix"><!--default--> <!-- module_RHS - AARP Events --> <div class="ar-basic-box module-spacer"> <header> <div class="pull-right"> <a href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS"> <img style="width:30px;" src="https://cdn-aarp.americantowns.com/img/template/icons/aarp_event_icon.png" alt="Upcoming AARP Events" /> </a> </div> <h2 class="visible-lg">AARP Events for Hermitage</h2> <h2 class="hidden-lg">AARP Events for Hermitage</h2> </header> <div class="wrap"> <div class="ar-listing snippet"> <ul class="list"> <li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1222024-4xncqpfffgz.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 2, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-longwood-gardens-the-magic-of-a-longwood-christmas-12424-wgnptqwfj7w.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-LONGWOOD-GARDENS-THE-MAGIC-OF-A-LONGWOOD-CHRISTMAS">Longwood Gardens The Magic of A Longwood Christmas</a></h2> <p class="time">Wednesday, Dec 4, 2024 at 5:00 p.m. ET</p> <p class="venue"></p> <p class="loc">Online Event</p> </li><li class="item" data-pageindex="1"> <h3 class="topic">Featured Event</h3> <h2 class="title"><a href="/aarp-event/aarp-pa-moving-with-milly-1292024-3vn6ccbhfm5.html" data-formelementid="LOCAL-BTN-CLK-EVENTS-MOVING-WITH-MILLY-CHAIR-EXERCISES-FOR-IMPROVED-MOBILITY">Moving with Milly: Chair Exercises for Improved Mobility</a></h2> <p class="time">Monday, Dec 9, 2024 at 11:00 a.m. ET</p> <p class="venue">Zoom</p> <p class="loc">Online Event</p> </li> </ul> <p><a class="link-red" href="/hermitage-pa/aarp-events/" data-formelementid="LOCAL-BTN-CLK-SEEALL-EVENTS">View All AARP Events<i class="ml-1 fas fa-chevron-right"></i></a></p> </div> </div> </div> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_53475" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_53475', size:'300x250'}); } </script> </div> </div> <div class="card-tout card-dark membership-tout" style="margin:0 0 30px 0;"> <img class="img-responsive image" title="image of two AARP membership cards" alt="image of two AARP membership cards" src="https://cdn-aarp.americantowns.com/img/tout-two-cards.png"> <div class="title">Only $12 your first year with Automatic Renewal</div> <ul class="list"> <li>Immediate access to your <a href="https://www.aarp.org/benefits-discounts/">member benefits</a></li> <li>Discounts on travel and everyday savings</li> <li>Subscription to AARP The Magazine</li> <li>FREE second membership</li> </ul> <div class="action"> <a class="btn" href="https://appsec.aarp.org/mem/join?campaignid=UAJFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Join AARP</a> <div class="body">Already a member? <a href="https://appsec.aarp.org/mem/renew?campaignid= UARFT3&intcmp=LNK-CSN-AARPLOCAL-JRTOUT-RR-A-HERMITAGE-PA">Renew</a> or <a href="https://www.aarp.org/benefits-discounts/my-membership/print-your-card/">Print Card</a></div> </div> </div> <style> .membership-tout {padding:16px 20px;} .membership-tout .list li { margin: 0; } </style> <div aria-hidden="true" class="aarpe-ad-wrapper"> <div class="aarpe-ad en clearfix" id="300x250_93505" data-adsize="300x250"> <script type="text/javascript"> if(typeof AARP.ads !== 'undefined'){ AARP.ads.slots({ id:'300x250_93505', size:'300x250'}); } </script> </div> </div> <div class="module-spacer text-center"> <div class="fb-page" alt="Image of AARP Pennsylvania Facebook Page" title="Image of AARP Pennsylvania Facebook Page" data-href="https://www.facebook.com/AARPPA" data-tabs="timeline" width="320" height="" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" lazy="true"> <blockquote cite="https://www.facebook.com/AARPPA" class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/AARPPA">Facebook</a></blockquote> </div> </div> <div class="ar-basic-box module-spacer"> <header> <h2>Contact AARP<br />Pennsylvania</h2> </header> <div class="wrap"> <div class="ar-quick-list module-spacer"> <ul class="list-unstyled"> <li><i class="list-icon fa fa-envelope" alt="Email icon" title="Email icon" aria-hidden="true"></i><a href="mailto:PAAARP@aarp.org" target="_blank" rel="noopener">PAAARP@aarp.org</a></li> <li><i class="list-icon fa fa-globe" alt="Globe icon" title="Globe icon" aria-hidden="true"></i><a href="https://states.aarp.org/region/pennsylvania/" target="_blank" rel="noopener">AARP Pennsylvania</a></li> <li><i class="list-icon fa fa-map-marker" alt="Map Marker icon" title="Map Marker icon" aria-hidden="true"></i><a href="https://states.aarp.org/your-local-aarp-office/?intcmp=SNG-LNK-AARPLOCAL-CONTACT-20140101-HERMITAGE-PA" target="_blank" rel="noopener">Contact Us</a></li> </ul> </div> <a href="https://www.facebook.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Facebook"><img alt="Facebook icon" title="Facebook icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/facebook-dreamstale25.png"></a> <a href="https://twitter.com/AARPPA" target="_blank" rel="noopener" aria-label="Open Twitter"><img alt="Twitter icon" title="Twitter icon" src="https://cdn-aarp.americantowns.com/img/responsive/icons/48/x-logo-black.png"></a> </div> </div> </div></div> <div class="col-md-8 left-rail left-bot"></div> <div class="col-md-4 right-rail right-bot thin-rhs"></div> </div> <div class="row oneColumnLayout"> </div> <div class="row oneColumnLayout"> <div class="col-md-12"><!-- script to activate navbar --> <script type="text/javascript"> jQuery(".channelBarMain ul.left li a").click(function() { window.location = jQuery(this).attr('href'); }); </script> </div> </div> ' $scripts_for_layout = '<title>Public Golf Courses around Hermitage, PA - AARP</title> <meta name="page_title" content="Public Golf Courses around Hermitage, PA - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Public Golf Courses around Hermitage - Hermitage, PA - AARP In Your City" name="description"/> <meta content="Public, Golf, Courses, around, Hermitage, PA, AARP" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/hermitage-pa/golf-courses/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/hermitage-pa/golf-courses/?intcmp=CSN-LOCAL-TTDGC-05212024"/> ' $title_for_layout = 'Public Golf Courses around {local_city_c}, {local_state} - AARP' $asset_version = '230831' $min = true $nowrapper = false $css = '' $highlighting = '' $location = '<a href="/hermitage-pa/?intcmp=CSN-LOCAL-NAV-HOME">Hermitage, PA</a>' $no_header = false $header_title = 'Public Golf Courses' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class="active"><a role="menuitem" class="menuitem" href="/hermitage-pa/things-to-do/?intcmp=CSN-LOCAL-NAV-TTD" data-formelementid="LOCAL-LNK-CLK-THINGSTODO">Things to Do</a></li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/happenings/?intcmp=CSN-LOCAL-NAV-NF" data-formelementid="LOCAL-LNK-CLK-HAPPENINGS">News Feed</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/volunteering/?intcmp=CSN-LOCAL-NAV-VOL" data-formelementid="LOCAL-LNK-CLK-VOLUNTEERING">Volunteering</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/home-and-community/?intcmp=CSN-LOCAL-NAV-HC" data-formelementid="LOCAL-LNK-CLK-HC">Home & Community</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/hermitage-pa/movies/?intcmp=CSN-LOCAL-NAV-MFG" data-formelementid="LOCAL-LNK-CLK-MOVIESFORGROWNUPS">Movies for Grownups</a> </li> <li role="presentation" class="more nosep " id="submenu-more"> <span role="menuitem" class="menuitem" data-formelementid="LOCAL-LNK-CLK-MORE">More<i class="fas fa-chevron-down"></i></span> <ul class="secondary-submenu animate slide-in" id="secondary-submenu"> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/discounts/?intcmp=CSN-LOCAL-NAV-LO" data-formelementid="LOCAL-LNK-CLK-OFFERS">Local Offers</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/local-resources/?intcmp=CSN-LOCAL-NAV-LR" data-formelementid="LOCAL-LNK-CLK-LOCALRESOURCES">Local Resources</a> </li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/jobs/?intcmp=CSN-LOCAL-NAV-WJ" data-formelementid="LOCAL-LNK-CLK-WORK&JOBS">Work & Jobs</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/events/?intcmp=CSN-LOCAL-NAV-CC" data-formelementid="LOCAL-LNK-CLK-EVENTS">Community Calendar</a></li> <!-- <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/healthy-living/?intcmp=CSN-LOCAL-NAV-HEALTHY_LIVING" data-formelementid="LOCAL-LNK-CLK-HEALTHY_LIVING">Healthy Living</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/arts-entertainment/?intcmp=CSN-LOCAL-NAV-ARTS_ENT" data-formelementid="LOCAL-LNK-CLK-ARTS_ENT">Arts & Entertainment</a></li> <li role="presentation"><a role="menuitem" class="menuitem " href="/hermitage-pa/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </nav>' $header_custom = '' $breadcrumbs = array( (int) 0 => array( 'title' => 'Things to Do', 'slug' => 'things-to-do' ) ) $row = array( 'title' => 'Back to Things to Do', 'slug' => 'things-to-do' ) $i = (int) 0include - APP/View/Layouts/aarp_2023.ctp, line 244 include - APP/View/Layouts/aarp_2023.ctp, line 244 View::_evaluate() - CORE/Cake/View/View.php, line 971 View::_render() - CORE/Cake/View/View.php, line 933 View::renderLayout() - CORE/Cake/View/View.php, line 546 View::render() - CORE/Cake/View/View.php, line 481 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayTown() - APP/Controller/TownsController.php, line 17 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 118