Notice (8): Trying to access array offset on value of type null [APP/Controller/Component/ParamsComponent.php, line 114]Code Context$data['state'] = !empty($this->data['state']) ? filter_var($this->data['state'],FILTER_SANITIZE_STRING) : @Globals::$currentTown['state'];$data['theme'] = Globals::$theme;$data['page_type'] = Globals::$page['type'];$data = array( 'keyword' => '', 'radius' => null, 'limit' => (int) 15, 'page' => (int) 1, 'sef' => 'monroe-county-fair-rush-ny.html', 'tags' => '', 'tags_logical' => '', 'terms' => '', 'show' => (int) 15, 'show_limit' => (int) 3, 'sort' => '', 'days' => '', 'images' => true, 'max-days' => (int) 365, 'max-miles' => (int) 45, 'message' => '[message to follow]', 'min' => (int) 50, 'title' => '', 'prompt' => '', 'height' => '', 'width' => '', 'data_id' => '', 'more' => true, 'type' => '', 'autoshowmore' => false, 'link' => '', 'showdesc' => '', 'rankby' => '', 'empty-message' => '', 'ad_slots' => '', 'see-more-title' => '', 'searchdate' => '', 'searchenddate' => '', 'lat' => '', 'lng' => '', 'latlng' => ',', 'city' => null, 'state' => null, 'theme' => '' ) $tags = array( 'tags' => '' )ParamsComponent::init() - APP/Controller/Component/ParamsComponent.php, line 114 ParamsComponent::get() - APP/Controller/Component/ParamsComponent.php, line 10 PlacesController::display() - APP/Controller/PlacesController.php, line 110 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 105
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/devel4/p300/lib/Cake/Utility/Debugger.php:797) [APP/Lib/Globals.php, line 156]Code Contextpublic static function setCookie () {if (empty($_COOKIE['ct'])) setcookie('ct', self::$currentTownUrl, strtotime("+1 year"), '/');setcookie - [internal], line ?? Globals::setCookie() - APP/Lib/Globals.php, line 156 Globals::setCurrentTown() - APP/Lib/Globals.php, line 86 Globals::setTown() - APP/Lib/Globals.php, line 52 PlacesComponent::detail() - APP/Plugin/Core/Controller/Component/PlacesComponent.php, line 116 PlacesController::display() - APP/Controller/PlacesController.php, line 110 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 105
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/vhosts/devel4/p300/lib/Cake/Utility/Debugger.php:797) [APP/Lib/Globals.php, line 64]Code Contextself::$site = $data['Site'];}if (isset(self::$site['hostname']) && self::$site['hostname'] != @$_COOKIE['cs']) setcookie('cs', self::$site['hostname'], strtotime("+1 year"), '/');$var = array( 'site_id' => '240', 'name' => 'Americantowns V4', 'theme' => '', 'hostname' => 'americantowns.com', 'canonical' => 'www.americantowns.com', 'state' => '', 'full_state' => null, 'https' => '0', 'layout' => 'americantowns', 'cookie_redirect' => '1', 'tokens' => array( 'season' => 'Spring', ' bt-fif-apple' => '', ' bt-fif-corn-maze' => '', 'ab_cv_state_hud_local_ha' => '', 'at-corn-maze' => '', 'at-gas-avg-diesel' => '', 'at-gas-avg-mid' => '', 'at-gas-avg-premium' => '', 'at-gas-avg-reg' => '', 'at-gas-avg-us' => '$3.160', 'at-gas-price-1-diesel' => '', 'at-gas-price-1-location' => '', 'at-gas-price-1-mid' => '', 'at-gas-price-1-premium' => '', 'at-gas-price-1-reg' => '', 'at-gas-price-2-diesel' => '', 'at-gas-price-2-location' => '', 'at-gas-price-2-mid' => '', 'at-gas-price-2-premium' => '', 'at-gas-price-2-reg' => '', 'at-july4-blt-article-link' => '', 'at-ski-resort' => '', 'at_political_registered_count' => '', 'at_ttd_widget' => '<div class="module-blank"> <div class="ttd-module clearfix" style="background:url(https:/imgcdn.americantowns.com/img/uploads/banner-images/hiking-hero.jpg); min-height:250px; background-position: 50% 50%; background-size: cover;"> <div> <div class="col-md-3"></div> <div class="col-md-9 va-container"> <div class="ttd-text"> <div class="va-content"> <div class="header"><span class="glyphicon glyphicon-paperclip" aria-hidden="true"></span> Things to do in {local_city}</div> <h2 class="title"><a href="/{town_sef_url}/hiking/">Summer Hiking!</a></h2> <div class="subtitle">Maps, directions, locations and more for where to go hiking this spring around {local_city_state}!</div> <a class="btn btn-white" href="/{town_sef_url}/hiking/">LETS GO!</a> </div> </div> </div> </div> <!--static --> <!--- <div class="ttd-thumb"> <span class="content-type btn btn-primary"><a href="/{town_sef_url}/movie-times/">movies</a></span> <div class="image"> <a href="/movie/pacific-rim-uprising-190576/"><img class="img-responsive" src="http://www.movienewsletters.net/photos/19057601.jpg" /></a> </div> <div class="caption truncate"><a href="/movie/pacific-rim-uprising-190576/">Movie: Movie - Pacific Rim: Uprising</a></div> </div> {Xmodule_AT - TTD Featured Event} {Xmodule_AT - TTD Featured Event - Music} {Xmodule_AT - TTD Featured Event - A&E} --> </div> </div>', 'bt-fif-cross-country-skiing' => '', 'bt-fif-cross-country-skiing-town' => '', 'bt-fif-pumpkin' => '', 'bt-fif-ski-resort' => '', 'bt-fif-ski-resort-town' => '', 'bt-st-pat-current-article-link' => '<h2 class="section-title"><a href="/article/st-patricks-day-events-things-to-do-{yyyy}/">View our St. Patrick's Day Parade and Event Picks for 2024!</a></h2>', 'bt-st-pat-event-article-link' => '<h2><a href="/article/st-patricks-day-events-things-to-do-2023/">Click Here for the Best {local_full_state} St. Patrick's Day Parades, Events, and Celebrations in {yyyy}.</a></h2>', 'city' => '', 'csa_channel' => '4386904569', 'cv_total_state_cases' => '', 'cv_total_state_deaths' => '', 'cv_total_state_new_cases' => '', 'cv_total_state_new_deaths' => '', 'cv_total_us_cases' => '107,184,620', 'cv_total_us_deaths' => '1,166,662', 'cv_total_us_new_cases' => '1,648', 'cv_total_us_new_deaths' => '8', 'Description' => 'no description', 'driveniq' => '9122', 'election-pres-primaries-dem' => '', 'election-pres-primaries-gop' => '', 'election-primary-caucus-title' => '', 'election-state-primaries' => '', 'election_polling_places_links' => '', 'election_polling_times' => '', 'election_reg_dates' => '', 'facebook-domain-verification' => 'uaqqzwet8z363epby73w309yhqd86f', 'fb-pageurl' => '', 'fif_arcades' => '', 'Footer Menu Module' => 'footer menu', 'Footer Script Module' => 'footer script', 'ga-tag' => '', 'ga-tag-type' => 'UA-93259101-3', 'geo-places-side' => '/events/geo_search/radius:50', 'google_map_key' => 'AIzaSyB7c0aYAl7_lT--ouR64Fx1lFOHVM4vMbQ', 'Header Menu Module' => 'Header Menu Main', 'Header Script Module' => 'header script', 'header-logo' => '', 'headertext' => '', 'headertext-image' => '', 'health-dept-links' => '', 'health-dept-name' => '', 'health-dept-twitter' => '', 'lhr_june_temp' => '', 'lhr_state_compost_link' => '', 'lhr_state_haz_waste_link' => '', 'lhr_state_trash_ton' => '', 'lhr_state_waste_rank' => '', 'mardis_gras' => '', 'not-states' => '', 'ntv' => '', 'ntv2' => '', 'og_image' => '', 'places-index' => '/events/index/show:20/radius:50', 'pn-town-text' => '', 'pn-town-venue-header' => '', 'political_event_tags' => '', 'political_ideology' => '', 'political_news_tags' => '', 'political_opinion_tags' => '', 'political_ql_dem_local_party' => '', 'political_ql_dem_state_party' => '', 'political_ql_rep_local_party' => '', 'political_ql_rep_state_party' => '', 'political_ql_voter_reg' => '', 'political_registered_count' => '', 'political_registered_count_dem' => '', 'political_registered_count_estimated' => '', 'political_registered_count_exact' => '', 'political_registered_count_rep' => '', 'political_soapbox_tags' => '', 'political_term' => '', 'political_title_events' => '', 'political_title_home' => '', 'political_title_news' => '', 'political_title_opinion' => '', 'political_title_soapbox' => '', 'right-module-data-1' => '/events/geo_search/tags:arts-and-entertainment/radius:50/title:Best Things To Do Near You/prompt:Best Things To Do Near You/show:10/list-insert:Ad Event-Place Module-1|4,Ad Event-Place Module-2|8,Ad Event-Place Module-3|12/', 'right-module-data-2' => '/places/geo_search/tags:gold|silver/radius:50/title:Best Places To Go Near You/prompt:Best Places To Go Near You/show:15/list-insert:Ad Event-Place Module-1|4,Ad Event-Place Module-2|8,Ad Event-Place Module-3|12/', 'state-link' => '', 'state-list' => '', 'state-page-title' => '', 'taboola_ads' => '', 'Top_Ad' => '', 'town-article-plumbing' => '', 'town-article-token' => '', 'town-biking' => '', 'town-data-1' => '/events/index/show:20/tags:arts-and-entertainment/autoshowmore:yes/title:Best Events Near You in {local_city_c}, {local_full_state}/list-insert:Ad Event-Place Module-1|4,Ad Event-Place Module-2|8,Ad Event-Place Module-3|12/', 'town-data-2' => '/places/index/show:20/radius:50/tags:gold|silver/autoshowmore:yes/title:Best Places To Go Near You/list-insert:Ad Event-Place Module-1|4,Ad Event-Place Module-2|8,Ad Event-Place Module-3|12/', 'town-description' => '', 'town-subtext' => '' ), 'tags' => '' )setcookie - [internal], line ?? Globals::setSite() - APP/Lib/Globals.php, line 64 AppController::renderPage() - APP/Controller/AppController.php, line 120 PlacesController::display() - APP/Controller/PlacesController.php, line 114 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 105
About
The Monroe County Fair and Recreation Association is an independent nonprofit organization which began in 1823 as the Monroe Agricultural Society. Since day one our mission has been the same…. “to build community through the advancement, affirmation and support of youth, agriculture and technology culminating in the annual celebration of the Monroe County Fair.”
| Nr | Query | Error | Affected | Num. rows | Took (ms) |
|---|---|---|---|---|---|
| 1 | db.sites.find( {"hostname":{"$in":["americantowns.com","localword"]}}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 5 | |
| 2 | db.places.find( {"sef_tail":"monroe-county-fair-rush-ny.html"}, [] ).sort( [] ).limit( 2 ).skip( 0 ) | 0 | 1 | 1 | |
| 3 | db.towns.find( {"sef_url":"rush-ny"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 4 | db.gp_block.find( {"place_id":null}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 0 | 1 | |
| 5 | db.pages.find( {"type":"content","slug":{"$in":["place-detail","place-detail\/monroe-county-fair-rush-ny.html"]},"site.hostname":"americantowns.com"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 6 | db.modules.find( {"name":{"$in":["Header Menu Main","header script","footer menu","footer script"]}}, [] ).sort( [] ).limit( 0 ).skip( 0 ) | 0 | 4 | 1 | |
| 7 | db.modules.find( {"name":"Share Module"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 8 | db.events.find( {"group_id":1320845,"start":{"$gte":"MongoDate(0.00000000 1768111200)"}}, [] ).sort( {"start":1} ).limit( 16 ).skip( 0 ) | 0 | 0 | 1 | |
| 9 | db.news.find( {"group_id":1320845}, [] ).sort( {"publish_date":-1} ).limit( 0 ).skip( 0 ) | 0 | 0 | 1 | |
| 10 | db.modules.find( {"name":"AT - Header Script"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 11 | db.modules.find( {"name":"AT - Header Section"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 12 | db.modules.find( {"name":"AT - Nearby Towns"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 13 | db.modules.find( {"name":"AT - Nav Bar"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 14 | db.modules.find( {"name":"CV Cancel"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 15 | db.modules.find( {"name":"AT - Footer Section"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 | |
| 16 | db.modules.find( {"name":"AT - Footer Script"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 1 |