Welcome to AARP Near You
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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} '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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} '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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} '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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} '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::displayGuest() - APP/Controller/TownsController.php, line 72 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
Choose a location to check for events near you
Notice (8): Undefined index: community_id [APP/Controller/EventsController.php, line 423]Code Context$this->request->data = $rs['EventCache']['data'];
} else {
if (Globals::$currentTown['community_id'] && $community = $this->Community->findByCommunityId(Globals::$currentTown['community_id'])) {
$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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
Notice (8): Undefined index: state [APP/Model/Event.php, line 325]Code Context$aggregate = [];
$EventRadius = ClassRegistry::init('EventRadius');
$towns_list = array_values(array_merge($EventRadius->getTownSefs(Globals::$currentTownUrl,'aarp'),[$national, strtolower(Globals::$currentTown['state'])]));
$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Notice (8): Undefined index: state [APP/Model/Event.php, line 338]Code Context'$ne' => [
'$state',
Globals::$currentTown['state']
$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $highlighting = '' $location = 'Welcome to AARP Near You' $no_header = false $header_title = 'Welcome to AARP Near You' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="containerx"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu containerx" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </div> </nav>' $header_custom = '' $breadcrumbs = array()include - 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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $highlighting = '' $location = 'Welcome to AARP Near You' $no_header = false $header_title = 'Welcome to AARP Near You' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="containerx"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu containerx" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </div> </nav>' $header_custom = '' $breadcrumbs = array()include - 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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $highlighting = '' $location = 'Welcome to AARP Near You' $no_header = false $header_title = 'Welcome to AARP Near You' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="containerx"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu containerx" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </div> </nav>' $header_custom = '' $breadcrumbs = array()include - 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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $highlighting = '' $location = 'Welcome to AARP Near You' $no_header = false $header_title = 'Welcome to AARP Near You' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="containerx"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu containerx" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </div> </nav>' $header_custom = '' $breadcrumbs = array()include - 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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $highlighting = '' $location = 'Welcome to AARP Near You' $no_header = false $header_title = 'Welcome to AARP Near You' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="containerx"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu containerx" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </div> </nav>' $header_custom = '' $breadcrumbs = array()include - 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::displayGuest() - APP/Controller/TownsController.php, line 72 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="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>', 'scripts_for_layout' => '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ', 'title_for_layout' => 'Welcome to AARP Near You - AARP' ) $content_for_layout = '<div class="twoColumnLayout"> <div class="section row-panel" id="row-panel1"><div class="module clearfix"><style> .town-picker {background: none} .town-picker .overlay {padding: 15px 20px 10px 20px;} .town-picker h3{line-height:22px} .town-picker{text-align:left} .town-picker .city-state{padding: 3px 10px;color:#444;font-size:20px;width:280px;margin-right:10px} @media (max-width: 414px) {.town-picker h3{color:#e8f1f8;}} </style> <div class="module-spacer town-picker"> <!-- <h2>Time to Connect! <a href="#" class="btn large red" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí para español</a></h2> <p style="font-size:15pt">It’s never been easier to connect, learn and have fun. For free and from home – virtually!</p><br> <img src="https://cdn-aarp.americantowns.com/img/responsive/welcome.png" alt="Welcome" style="width:100%"><br><br> --> <h2>What community do you want to explore?</h2> <form class="form-inline"> <div class="form-group"> <input id="city-state-form" placeholder="Enter community name or zip code" title="Enter community name or zip code" class="city-state" autocomplete="address-level2" /> <div class="city-state-container"></div> </div> <label class="form-group" for="city-state-form"> <a href="" class="search btn large red">Find Your Community</a> </label> <p class="picker-error"></p> </form> </div></div></div><div class="section row-panel" id="row-panel2"><div class="module clearfix"><h2>Upcoming Virtual Events</h2> <p><a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" class="aarp-asi-modal-popup" onclick="return false;" target="blank" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">Choose a location</a> to check for events near you</p></div><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-trace').style.display = (document.getElementById('cakeErr6766e77862e44-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: community_id [<b>APP/Controller/EventsController.php</b>, line <b>423</b>]<div id="cakeErr6766e77862e44-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-code').style.display = (document.getElementById('cakeErr6766e77862e44-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77862e44-context').style.display = (document.getElementById('cakeErr6766e77862e44-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77862e44-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">request</span><span style="color: #007700">-></span><span style="color: #0000BB">data </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #DD0000">'EventCache'</span><span style="color: #007700">][</span><span style="color: #DD0000">'data'</span><span style="color: #007700">];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">} else {</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">] && </span><span style="color: #0000BB">$community </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">Community</span><span style="color: #007700">-></span><span style="color: #0000BB">findByCommunityId</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'community_id'</span><span style="color: #007700">])) {</span></span></code></span></pre><pre id="cakeErr6766e77862e44-context" class="cake-context" style="display: none;">$session_key = 'ae.queryparams.guest' $date_string = '' $is_weekly = false $nav_class = '' $query_params = array() $selected_categories = array() $clear = false $key = '60106a6be91bd096671365a1c850ca1d' $rs = array()</pre><pre class="stack-trace">EventsController::aarp_events() - APP/Controller/EventsController.php, line 423 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 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</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-trace').style.display = (document.getElementById('cakeErr6766e77867373-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>325</b>]<div id="cakeErr6766e77867373-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-code').style.display = (document.getElementById('cakeErr6766e77867373-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e77867373-context').style.display = (document.getElementById('cakeErr6766e77867373-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e77867373-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $aggregate </span><span style="color: #007700">= [];</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> $EventRadius </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'EventRadius'</span><span style="color: #007700">);</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $towns_list </span><span style="color: #007700">= </span><span style="color: #0000BB">array_values</span><span style="color: #007700">(</span><span style="color: #0000BB">array_merge</span><span style="color: #007700">(</span><span style="color: #0000BB">$EventRadius</span><span style="color: #007700">-></span><span style="color: #0000BB">getTownSefs</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTownUrl</span><span style="color: #007700">,</span><span style="color: #DD0000">'aarp'</span><span style="color: #007700">),[</span><span style="color: #0000BB">$national</span><span style="color: #007700">, </span><span style="color: #0000BB">strtolower</span><span style="color: #007700">(</span><span style="color: #0000BB">Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">])]));</span></span></code></span></pre><pre id="cakeErr6766e77867373-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array() $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null }</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 325 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-trace').style.display = (document.getElementById('cakeErr6766e778697d2-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: Undefined index: state [<b>APP/Model/Event.php</b>, line <b>338</b>]<div id="cakeErr6766e778697d2-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-code').style.display = (document.getElementById('cakeErr6766e778697d2-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6766e778697d2-context').style.display = (document.getElementById('cakeErr6766e778697d2-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6766e778697d2-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$ne' </span><span style="color: #007700">=> [</span></span></code> <code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'$state'</span><span style="color: #007700">,</span></span></code> <span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> Globals</span><span style="color: #007700">::</span><span style="color: #0000BB">$currentTown</span><span style="color: #007700">[</span><span style="color: #DD0000">'state'</span><span style="color: #007700">]</span></span></code></span></pre><pre id="cakeErr6766e778697d2-context" class="cake-context" style="display: none;">$count = false $grouped = false $national = 'usa' $start_cond = array( '$gte' => object(MongoDate) { sec => (int) 1734760800 usec => (int) 0 } ) $query = array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( (int) 0 => 'gardening-nature', (int) 1 => 'home-improvement', (int) 2 => 'livable-communities' ), '$nin' => array( (int) 0 => 'espanol' ) ), 'format' => array( '$in' => array( (int) 0 => 'virtual' ) ), '$and' => array( (int) 0 => array( 'tags' => array( [maximum depth reached] ) ) ), 'town_sef_url' => array( '$in' => array( (int) 0 => 'usa', (int) 1 => '' ) ) ) $geo = array() $geonear = array( 'near' => array(), 'distanceField' => 'distance', 'distanceMultiplier' => (float) 3963.2, 'limit' => (int) 5000, 'spherical' => true, 'query' => array( 'start' => array( '$gte' => object(MongoDate) {} ), 'tags' => array( '$in' => array( [maximum depth reached] ), '$nin' => array( [maximum depth reached] ) ), 'format' => array( '$in' => array( [maximum depth reached] ) ) ), 'maxDistance' => (float) 0.011354461041583 ) $sort = array( 'start_utc' => (int) 1 ) $pipeline_group_count = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ) ) $pipeline_group = array( '_id' => array( 'title' => '$title', 'venue_name' => '$venue_name', 'city' => '$city', 'state' => '$state' ), 'city' => array( '$first' => '$city' ), 'cvent_id' => array( '$first' => '$cvent_id' ), 'cvent_status' => array( '$first' => '$cvent_status' ), 'date_string' => array( '$first' => '$date_string' ), 'distance' => array( '$first' => '$distance' ), 'end' => array( '$first' => '$end' ), 'event_id' => array( '$first' => '$event_id' ), 'event_url' => array( '$first' => '$event_url' ), 'cost' => array( '$first' => '$cost' ), 'featured' => array( '$first' => '$featured' ), 'geo' => array( '$first' => '$geo' ), 'group_key' => array( '$first' => '$group_key' ), 'image_url' => array( '$first' => '$image_url' ), 'location_string' => array( '$first' => '$location_string' ), 'repeat_id' => array( '$first' => '$repeat_id' ), 'search_text' => array( '$first' => '$search_text' ), 'sef_tail' => array( '$first' => '$sef_tail' ), 'start' => array( '$first' => '$start' ), 'start_utc' => array( '$first' => '$start_utc' ), 'timezone' => array( '$first' => '$timezone' ), 'format' => array( '$first' => '$format' ), 'state' => array( '$first' => '$state' ), 'tags' => array( '$first' => '$tags' ), 'tags_slugs' => array( '$first' => '$tags_slugs' ), 'title' => array( '$first' => '$title' ), 'town_sef_url' => array( '$first' => '$town_sef_url' ), 'venue_name' => array( '$first' => '$venue_name' ), 'dates' => array( '$push' => array( 'start' => '$start', 'date_string' => '$date_string', 'sef_tail' => '$sef_tail' ) ) ) $aggregate = array( (int) 0 => array( '$match' => array( 'start' => array( [maximum depth reached] ), 'tags' => array( [maximum depth reached] ), 'format' => array( [maximum depth reached] ), '$and' => array( [maximum depth reached] ), 'town_sef_url' => array( [maximum depth reached] ) ) ) ) $EventRadius = object(EventRadius) { primaryKey => '_id' useDbConfig => 'mongo' useTable => 'events_radius' default => (int) 45 id => false data => array() schemaName => null table => 'events_radius' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'EventRadius' alias => 'EventRadius' tableToModel => array( 'events_radius' => 'EventRadius' ) cacheQueries => false belongsTo => array() hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array() cacheSources => true 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 => null [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 => null } $towns_list = array( (int) 0 => 'usa', (int) 1 => '' )</pre><pre class="stack-trace">Event::create_search_condition() - APP/Model/Event.php, line 338 EventsController::aarp_events() - APP/Controller/EventsController.php, line 431 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 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 View::render() - CORE/Cake/View/View.php, line 473 Controller::render() - CORE/Cake/Controller/Controller.php, line 963 AppController::renderPage() - APP/Controller/AppController.php, line 136 TownsController::displayGuest() - APP/Controller/TownsController.php, line 72 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193</pre></div></pre><div class="module clearfix"><div class="text-right" style="margin-top: -20px; margin-bottom: 20px;"> <a href="#?intcmp=CSN-LOCAL-NAV-CHANGE" data-formelementid="" class="aarp-red aarp-asi-modal-popup" alt="View All Home & Community Events" title="View All Home & Community Events" data-target="#nearbyCitiesModal" data-toggle="modal" data-remote="false" data-formelementid="LOCAL-BTN-CLK-CHANGE_LOCATION-YOUR_COMMUNITY_" data-categoryid="Local">View All Home & Community Events</a> <i class="fa fa-chevron-right aarp-red" aria-hidden="true"></i> </div></div></div><div class="section row-panel" id="row-panel3"><div class="module clearfix"><div class="anchor"> <a name="find-your-state"></a> </div> <div class="ar-basic-box module-spacer"> <div class="wrap form-inline state_selection"> <div class="form-group"><label for="state_list"><a data-formelementid="LOCAL-BTN-CLK-ESPANOL" data-categoryid="Local" href="#" data-toggle="modal" data-target="#nearbyCitiesModalEspanol" onclick="return false;" target="blank">Haga clic aquí</a> para Español … or browse cities in your state </label><select name="data[state_list]" data-formelementid="LOCAL-BTN-CLK-BROWSE_BY_STATE" data-categoryid="Local" class="form-control" id="state_list"> <option value="">Select your state</option> <option value="al">Alabama</option> <option value="ak">Alaska</option> <option value="az">Arizona</option> <option value="ar">Arkansas</option> <option value="ca">California</option> <option value="co">Colorado</option> <option value="ct">Connecticut</option> <option value="de">Delaware</option> <option value="dc">District of Columbia</option> <option value="fl">Florida</option> <option value="ga">Georgia</option> <option value="hi">Hawaii</option> <option value="id">Idaho</option> <option value="il">Illinois</option> <option value="in">Indiana</option> <option value="ia">Iowa</option> <option value="ks">Kansas</option> <option value="ky">Kentucky</option> <option value="la">Louisiana</option> <option value="me">Maine</option> <option value="md">Maryland</option> <option value="ma">Massachusetts</option> <option value="mi">Michigan</option> <option value="mn">Minnesota</option> <option value="ms">Mississippi</option> <option value="mo">Missouri</option> <option value="mt">Montana</option> <option value="ne">Nebraska</option> <option value="nv">Nevada</option> <option value="nh">New Hampshire</option> <option value="nj">New Jersey</option> <option value="nm">New Mexico</option> <option value="ny">New York</option> <option value="nc">North Carolina</option> <option value="nd">North Dakota</option> <option value="oh">Ohio</option> <option value="ok">Oklahoma</option> <option value="or">Oregon</option> <option value="pa">Pennsylvania</option> <option value="pr">Puerto Rico</option> <option value="ri">Rhode Island</option> <option value="sc">South Carolina</option> <option value="sd">South Dakota</option> <option value="tn">Tennessee</option> <option value="tx">Texas</option> <option value="vi">US Virgin Islands</option> <option value="ut">Utah</option> <option value="vt">Vermont</option> <option value="va">Virginia</option> <option value="wa">Washington</option> <option value="wv">West Virginia</option> <option value="wi">Wisconsin</option> <option value="wy">Wyoming</option> </select></div> </div> </div> <script type="text/javascript"> jQuery(function() { jQuery('.state_selection #state_list').change(function() { window.location = "/"+jQuery(this).val(); }); }); </script></div></div></div>' $scripts_for_layout = '<title>Welcome to AARP Near You - AARP</title> <meta name="page_title" content="Welcome to AARP Near You - AARP"/> <meta name="robots" content="noindex, nofollow"/> <meta content="Welcome to AARP Near You - AARP" name="description"/> <meta content="Welcome, AARP, Near, You" name="keywords"/> <link rel="canonical" href="https://local.aarp.org/guest/aarp-events/" /> <meta property="og:url" content="https://vccstaging.local.aarp.org/guest/aarp-events/"/> .vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $title_for_layout = 'Welcome to AARP Near You - AARP' $asset_version = '240925' $min = true $nowrapper = false $css = '.vcc-item .gold-slug {display: none; } .events-index .btn.next-page {display:none; } @media (min-width: 992px) { .row {display: flex; flex-wrap: wrap;} }header .breadcrumb {display:none;} header h2 .dropdown-menu {display:none !important;} header h2 .icon-down-arrow {display:none !important;} header h2 .icon-up-arrow {display:none !important;} ' $highlighting = '' $location = 'Welcome to AARP Near You' $no_header = false $header_title = 'Welcome to AARP Near You' $header_subtitle = '' $isPR = false $navbar = '<nav class="section" role="button" aria-expanded="false" aria-controls="collapse"> <div class="containerx"> <div class="section-toggle">Sections <i class="fas fa-chevron-down"></i></div> <ul class="secondary-menu containerx" id="secondary-menu" role="menu" aria-busy="true"> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/aarp-events/?intcmp=CSN-LOCAL-NAV-OLE" data-formelementid="LOCAL-LNK-CLK-EVENTS">Online & Local Events</a> </li> <li role="presentation" class=""><a role="menuitem" class="menuitem" href="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/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="/guest/museums/?intcmp=CSN-LOCAL-NAV-MUSEUMS" data-formelementid="LOCAL-LNK-CLK-MUSEUMS">Museums</a></li> --> </ul> </li> </ul> </div> </nav>' $header_custom = '' $breadcrumbs = array()include - 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::displayGuest() - APP/Controller/TownsController.php, line 72 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