Notice (8): Trying to access array offset on value of type null [APP/Plugin/Core/Controller/Component/PlacesComponent.php, line 68]Code Contextif($params['tags'])$options['conditions']['tags'] = $params['tags'];else if($this->params['tags_logical'])$params = array( 'show' => (int) 20, 'title' => 'Milltown Groups and Organizations', 'sort' => 'name', 'keyword' => '', 'radius' => null, 'limit' => (int) 15, 'page' => (int) 1, 'sef' => '', 'tags' => '', 'tags_logical' => '', 'terms' => '', 'show_limit' => (int) 3, 'days' => '', 'images' => true, 'max-days' => (int) 365, 'max-miles' => (int) 45, 'message' => '[message to follow]', 'min' => (int) 50, 'prompt' => '', 'height' => '', 'width' => '', 'data_id' => '', 'more' => true, 'type' => '', 'autoshowmore' => false, 'link' => '', 'showdesc' => '', 'rankby' => '', 'empty-message' => '', 'ad_slots' => '', 'see-more-title' => '', 'searchdate' => '', 'searchenddate' => '', 'lat' => (float) 45.529399871826, 'lng' => (float) -92.502601623535, 'latlng' => '45.529399871826,-92.502601623535', 'city' => 'Milltown', 'state' => 'WI', 'theme' => '', 'page_type' => 'town' ) $options = array( 'page' => (int) 1, 'limit' => (int) 20, 'order' => array( 'name' => (int) 1 ), 'conditions' => array( 'address.town_sef_url' => 'milltown-wi' ) )PlacesComponent::search() - APP/Plugin/Core/Controller/Component/PlacesComponent.php, line 68 PlacesController::index() - APP/Controller/PlacesController.php, line 37 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 23 include - APP/View/Elements/display.ctp, line 14 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 224 TownsController::displayTown() - APP/Controller/TownsController.php, line 11 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 491 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
| Nr | Query | Error | Affected | Num. rows | Took (ms) |
|---|---|---|---|---|---|
| 1 | db.towns.find( {"sef_url":"milltown-wi"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 7 | |
| 2 | db.pages.find( {"type":"town","slug":{"$in":["organizations"]},"site.hostname":"americantowns.com"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 1 | 2 | |
| 3 | db.places.find( {"address.town_sef_url":"milltown-wi"}, [] ).sort( {"name":1} ).limit( 21 ).skip( 0 ) | 0 | 3 | 3 | |
| 4 | db.events_cache.find( {"_id":"b80de5ad0b952fe3168962150654b45f"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 0 | 2 | |
| 5 | db.events_radius_cache.find( {"_id":"523e3c81aacd28ed6aac52698d89e615"}, [] ).sort( [] ).limit( 1 ).skip( 0 ) | 0 | 0 | 2 | |
| 6 | db.events.count( {"address.town_sef_url":"milltown-wi","start":{"$gte":"MongoDate(0.00000000 1761800400)","$lt":"MongoDate(0.00000000 1762408800)"}} ) | 0 | 0 | 2 | |
| 7 | db.events.count( {"geo":{"$geoWithin":{"$center":[[-92.50260162353516,45.52939987182617],0.10144927536231885]}},"start":{"$gte":"MongoDate(0.00000000 1761800400)","$lt":"MongoDate(0.00000000 1762668000)"}} ) | 0 | 0 | 99 | |
| 8 | db.events.count( {"geo":{"$geoWithin":{"$center":[[-92.50260162353516,45.52939987182617],0.21739130434782608]}},"start":{"$gte":"MongoDate(0.00000000 1761800400)","$lt":"MongoDate(0.00000000 1762668000)"}} ) | 0 | 0 | 105 | |
| 9 | db.events_radius_cache.count( {"_id":"523e3c81aacd28ed6aac52698d89e615"} ) | 0 | 0 | 2 | |
| 10 | db.events_radius_cache.insert( {"_id":"523e3c81aacd28ed6aac52698d89e615","radius":25,"modified":"MongoDate(0.51400000 1761811213)","created":"MongoDate(0.51400000 1761811213)"} , true) | 0 | 0 | 3 | |
| 11 | db.events.find( {"start":{"$gte":"MongoDate(0.00000000 1761800400)"},"geo":{"$geoWithin":{"$center":[[-92.50260162353516,45.52939987182617],0.36231884057971014]}}}, ["location_string","event_id","partner_id","address","sef_tail","tags","title","start","end","date_string","time_string","image_url","group_id","group_name","group_sef_tail","venue_name"] ).sort( {"start":1} ).limit( 11 ).skip( 0 ) | 0 | 1 | 8 | |
| 12 | db.events_cache.count( {"_id":"b80de5ad0b952fe3168962150654b45f"} ) | 0 | 0 | 2 | |
| 13 | db.events_cache.count( {"_id":"b80de5ad0b952fe3168962150654b45f"} ) | 0 | 0 | 2 | |
| 14 | db.events_cache.insert( {"_id":"b80de5ad0b952fe3168962150654b45f","town_sef_url":"milltown-wi","data_key":["689ffd41fb5e4bed1f9545bd"],"sort_order":{"start":1},"params":"{\"show\":10,\"title\":\"Local Events\",\"images\":false,\"empty-message\":\"no\",\"keyword\":\"\",\"radius\":25,\"limit\":15,\"page\":1,\"sef\":\"\",\"tags\":\"\",\"tags_logical\":\"\",\"terms\":\"\",\"show_limit\":3,\"sort\":\"\",\"days\":\"\",\"max-days\":365,\"max-miles\":45,\"message\":\"[message to follow]\",\"min\":50,\"prompt\":\"\",\"height\":\"\",\"width\":\"\",\"data_id\":\"\",\"more\":true,\"type\":\"\",\"autoshowmore\":false,\"link\":\"\",\"showdesc\":\"\",\"rankby\":\"\",\"ad_slots\":\"\",\"see-more-title\":\"\",\"searchdate\":\"\",\"searchenddate\":\"\",\"lat\":45.52939987182617,\"lng\":-92.50260162353516,\"latlng\":\"45.529399871826,-92.502601623535\",\"city\":\"Milltown\",\"state\":\"WI\",\"theme\":\"\",\"page_type\":\"town\",\"grouped\":false,\"has_next_page\":false}","modified":"MongoDate(0.56900000 1761811213)","created":"MongoDate(0.56900000 1761811213)"} , true) | 0 | 0 | 2 |