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' => '',
'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' => (float) 44.74829864502,
'lng' => (float) -75.132598876953,
'latlng' => '44.74829864502,-75.132598876953',
'city' => 'Madrid',
'state' => 'NY',
'theme' => ''
)
$tags = array(
'tags' => ''
) ParamsComponent::init() - APP/Controller/Component/ParamsComponent.php, line 114
ParamsComponent::get() - APP/Controller/Component/ParamsComponent.php, line 10
RssController::events() - APP/Controller/RssController.php, line 32
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/View/Rss/events.ctp , line 4 ]Code Context $tconvert = new TextConverter ;
App :: uses ( 'RSSWriter' , 'Vendor' );
header ( "Content-Type: text/xml; charset=utf-8;" ); $viewFile = '/var/www/vhosts/devel4/p300/app/View/Rss/events.ctp'
$dataForView = array(
'ctown' => array(
'_id' => '63e419cb29d0272563057c69',
'city' => 'Madrid',
'state' => 'NY',
'nearby' => array(
(int) 0 => array(
[maximum depth reached]
),
(int) 1 => array(
[maximum depth reached]
),
(int) 2 => array(
[maximum depth reached]
),
(int) 3 => array(
[maximum depth reached]
),
(int) 4 => array(
[maximum depth reached]
),
(int) 5 => array(
[maximum depth reached]
),
(int) 6 => array(
[maximum depth reached]
),
(int) 7 => array(
[maximum depth reached]
),
(int) 8 => array(
[maximum depth reached]
),
(int) 9 => array(
[maximum depth reached]
),
(int) 10 => array(
[maximum depth reached]
),
(int) 11 => array(
[maximum depth reached]
),
(int) 12 => array(
[maximum depth reached]
),
(int) 13 => array(
[maximum depth reached]
),
(int) 14 => array(
[maximum depth reached]
)
),
'county' => 'Saint Lawrence',
'full_state' => 'New York',
'geo' => array(
(int) 0 => (float) -75.132598876953,
(int) 1 => (float) 44.74829864502
),
'latitude' => (float) 44.74829864502,
'longitude' => (float) -75.132598876953,
'city_state' => 'Madrid, NY',
'city_state_search' => 'Madrid NY Madrid New York',
'term' => 'in Madrid',
'title' => 'Madrid, NY',
'type' => 'town',
'zip' => '13660',
'sef_url' => 'madrid-ny',
'county_sef_url' => 'saint-lawrence-county-ny',
'state_sef_url' => 'ny',
'americantowns_url' => 'https://www.americantowns.com/madrid-ny/',
'zipcodes' => array(
(int) 0 => '13660'
),
'town_ids' => array(
(int) 0 => '5225'
),
'health-dept-twitter' => '<a class="twitter-timeline" href="https://twitter.com/HealthNYGov?ref_src=twsrc%5Etfw">Tweets by HealthNYGov</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>',
'health-dept-links' => 'https://www.health.ny.gov/',
'health-dept-name' => 'New York State Department of Health',
'cv_total_state_new' => '9810',
'cv_total_state' => '102863',
'cv_total_state_cases' => '7,028,688',
'state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/new_york/renting/hawebsites" target="_blank">Madrid, NY area Housing Authority</a> on the New York HUD website.',
'ab_cv_state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/new_york/renting/hawebsites" target="_blank">Madrid, NY area Housing Authority</a> on the New York HUD website.',
'lhr_state_compost_link' => 'https://www.compostingcouncil.org/page/StateRegulations#ny',
'lhr_state_trash_ton' => '24.5',
'lhr_state_waste_rank' => '40',
'lhr_june_temp' => '80 degrees',
'lhr_state_haz_waste_link' => 'https://www.dec.ny.gov/chemical/8782.html',
'cv_total_state_deaths' => '77,685',
'election_polling_times' => '6 am to 9 pm for general elections. Primary times vary by county.',
'election_polling_places_links' => 'https://voterlookup.elections.ny.gov/',
'bt-fif-cross-country-skiing' => 'y',
' at-gas-avg-mid' => '$4.754',
'political_ql_dem_local_party' => 'https://www.nydems.org/about/counties',
'political_ql_dem_state_party' => 'https://nydems.org',
'political_ql_voter_reg' => 'https://www.elections.ny.gov/VotingRegister.html',
'political_registered_count_dem' => '6,748,526',
'political_registered_count_rep' => '2,914,704',
'political_ql_rep_local_party' => 'https://nygop.org/local-leaders/',
'political_ql_rep_state_party' => 'http://www.nygop.org/',
'political_registered_count_exact' => 'y',
' bt-fif-apple' => 'y',
' bt-fif-corn-maze' => 'y',
'at-political_registered_count' => '12,982,819',
'at_political_registered_count' => '12,982,819',
'cv_total_state_new_cases' => '338',
'cv_total_state_new_deaths' => '2',
'bt-fif-pumpkin' => 'y',
'at-ski-resort' => 'y',
'at-corn-maze' => 'y',
'primaries' => 'y',
'primaries-gop' => 'y',
'primary-caucus-dem-gop' => 'Primary',
'election-primaries-dem' => '<p>Democratic Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-primaries-gop' => '<p>Republican Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-state-primaries' => '<p>State Primary Date: <strong>Tuesday, June 25, 2024</strong></p>',
'election-pres-primaries-gop' => '<p>Republican Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-pres-primaries-dem' => '<p>Democratic Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-primary-caucus-title' => 'Primary',
'bt-fif-ski-resort' => 'y',
'bt-fif-ski-resort-town' => 'y',
'bt-fif-cross-country-skiing-town' => 'y',
'at-july4-blt-link' => 'https://bestlocalthings.com/ny/4-july-fireworks-new-york',
'at-july4-blt-article-link' => 'https://bestlocalthings.com/ny/4-july-fireworks-new-york',
'at-gas-avg-reg' => '$3.165',
'at-gas-avg-mid' => '$3.681',
'at-gas-avg-premium' => '$4.060',
'at-gas-avg-diesel' => '$3.912',
'at-gas-price-1-location' => '<div class="gpr_name">Mike's Trading Post</div><div class="gpr_address">2342 Printup Rd, Sanborn, NY</div>',
'at-gas-price-2-location' => '<div class="gpr_name">Ron's Smoke Shop</div><div class="gpr_address">5001 NY-417, Allegany, NY</div>',
'at-gas-price-1-reg' => '$2.59',
'at-gas-price-2-reg' => '$2.61',
'at-gas-price-2-mid' => '$2.91',
'at-gas-price-1-premium' => '$3.88',
'at-gas-price-1-diesel' => '$3.25'
)
)
$ctown = array(
'_id' => '63e419cb29d0272563057c69',
'city' => 'Madrid',
'state' => 'NY',
'nearby' => array(
(int) 0 => array(
'city' => 'Madrid',
'state' => 'NY',
'sef_url' => 'madrid-ny'
),
(int) 1 => array(
'city' => 'Norwood',
'state' => 'NY',
'sef_url' => 'norwood-ny'
),
(int) 2 => array(
'city' => 'Chase Mills',
'state' => 'NY',
'sef_url' => 'chase-mills-ny'
),
(int) 3 => array(
'city' => 'Norfolk',
'state' => 'NY',
'sef_url' => 'norfolk-ny'
),
(int) 4 => array(
'city' => 'Waddington',
'state' => 'NY',
'sef_url' => 'waddington-ny'
),
(int) 5 => array(
'city' => 'Potsdam',
'state' => 'NY',
'sef_url' => 'potsdam-ny'
),
(int) 6 => array(
'city' => 'Lisbon',
'state' => 'NY',
'sef_url' => 'lisbon-ny'
),
(int) 7 => array(
'city' => 'Raymondville',
'state' => 'NY',
'sef_url' => 'raymondville-ny'
),
(int) 8 => array(
'city' => 'Canton',
'state' => 'NY',
'sef_url' => 'canton-ny'
),
(int) 9 => array(
'city' => 'West Stockholm',
'state' => 'NY',
'sef_url' => 'west-stockholm-ny'
),
(int) 10 => array(
'city' => 'Hannawa Falls',
'state' => 'NY',
'sef_url' => 'hannawa-falls-ny'
),
(int) 11 => array(
'city' => 'Rensselaer Falls',
'state' => 'NY',
'sef_url' => 'rensselaer-falls-ny'
),
(int) 12 => array(
'city' => 'Heuvelton',
'state' => 'NY',
'sef_url' => 'heuvelton-ny'
),
(int) 13 => array(
'city' => 'Pyrites',
'state' => 'NY',
'sef_url' => 'pyrites-ny'
),
(int) 14 => array(
'city' => 'Colton',
'state' => 'NY',
'sef_url' => 'colton-ny'
)
),
'county' => 'Saint Lawrence',
'full_state' => 'New York',
'geo' => array(
(int) 0 => (float) -75.132598876953,
(int) 1 => (float) 44.74829864502
),
'latitude' => (float) 44.74829864502,
'longitude' => (float) -75.132598876953,
'city_state' => 'Madrid, NY',
'city_state_search' => 'Madrid NY Madrid New York',
'term' => 'in Madrid',
'title' => 'Madrid, NY',
'type' => 'town',
'zip' => '13660',
'sef_url' => 'madrid-ny',
'county_sef_url' => 'saint-lawrence-county-ny',
'state_sef_url' => 'ny',
'americantowns_url' => 'https://www.americantowns.com/madrid-ny/',
'zipcodes' => array(
(int) 0 => '13660'
),
'town_ids' => array(
(int) 0 => '5225'
),
'health-dept-twitter' => '<a class="twitter-timeline" href="https://twitter.com/HealthNYGov?ref_src=twsrc%5Etfw">Tweets by HealthNYGov</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>',
'health-dept-links' => 'https://www.health.ny.gov/',
'health-dept-name' => 'New York State Department of Health',
'cv_total_state_new' => '9810',
'cv_total_state' => '102863',
'cv_total_state_cases' => '7,028,688',
'state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/new_york/renting/hawebsites" target="_blank">Madrid, NY area Housing Authority</a> on the New York HUD website.',
'ab_cv_state_hud_local_ha' => '<br><br>For more information, locate your <a href="https://www.hud.gov/states/new_york/renting/hawebsites" target="_blank">Madrid, NY area Housing Authority</a> on the New York HUD website.',
'lhr_state_compost_link' => 'https://www.compostingcouncil.org/page/StateRegulations#ny',
'lhr_state_trash_ton' => '24.5',
'lhr_state_waste_rank' => '40',
'lhr_june_temp' => '80 degrees',
'lhr_state_haz_waste_link' => 'https://www.dec.ny.gov/chemical/8782.html',
'cv_total_state_deaths' => '77,685',
'election_polling_times' => '6 am to 9 pm for general elections. Primary times vary by county.',
'election_polling_places_links' => 'https://voterlookup.elections.ny.gov/',
'bt-fif-cross-country-skiing' => 'y',
' at-gas-avg-mid' => '$4.754',
'political_ql_dem_local_party' => 'https://www.nydems.org/about/counties',
'political_ql_dem_state_party' => 'https://nydems.org',
'political_ql_voter_reg' => 'https://www.elections.ny.gov/VotingRegister.html',
'political_registered_count_dem' => '6,748,526',
'political_registered_count_rep' => '2,914,704',
'political_ql_rep_local_party' => 'https://nygop.org/local-leaders/',
'political_ql_rep_state_party' => 'http://www.nygop.org/',
'political_registered_count_exact' => 'y',
' bt-fif-apple' => 'y',
' bt-fif-corn-maze' => 'y',
'at-political_registered_count' => '12,982,819',
'at_political_registered_count' => '12,982,819',
'cv_total_state_new_cases' => '338',
'cv_total_state_new_deaths' => '2',
'bt-fif-pumpkin' => 'y',
'at-ski-resort' => 'y',
'at-corn-maze' => 'y',
'primaries' => 'y',
'primaries-gop' => 'y',
'primary-caucus-dem-gop' => 'Primary',
'election-primaries-dem' => '<p>Democratic Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-primaries-gop' => '<p>Republican Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-state-primaries' => '<p>State Primary Date: <strong>Tuesday, June 25, 2024</strong></p>',
'election-pres-primaries-gop' => '<p>Republican Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-pres-primaries-dem' => '<p>Democratic Presidential Primary Date: <strong>Tuesday, April 2, 2024</strong></p>',
'election-primary-caucus-title' => 'Primary',
'bt-fif-ski-resort' => 'y',
'bt-fif-ski-resort-town' => 'y',
'bt-fif-cross-country-skiing-town' => 'y',
'at-july4-blt-link' => 'https://bestlocalthings.com/ny/4-july-fireworks-new-york',
'at-july4-blt-article-link' => 'https://bestlocalthings.com/ny/4-july-fireworks-new-york',
'at-gas-avg-reg' => '$3.165',
'at-gas-avg-mid' => '$3.681',
'at-gas-avg-premium' => '$4.060',
'at-gas-avg-diesel' => '$3.912',
'at-gas-price-1-location' => '<div class="gpr_name">Mike's Trading Post</div><div class="gpr_address">2342 Printup Rd, Sanborn, NY</div>',
'at-gas-price-2-location' => '<div class="gpr_name">Ron's Smoke Shop</div><div class="gpr_address">5001 NY-417, Allegany, NY</div>',
'at-gas-price-1-reg' => '$2.59',
'at-gas-price-2-reg' => '$2.61',
'at-gas-price-2-mid' => '$2.91',
'at-gas-price-1-premium' => '$3.88',
'at-gas-price-1-diesel' => '$3.25'
)
$tconvert = object(TextConverter) {
} header - [internal], line ??
include - APP/View/Rss/events.ctp, line 4
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
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 105
Upcoming Events for Madrid NY - AmericanTowns.com
AmericanTowns is a virtual "town square", connecting you to all the events and news happening in Madrid New York. Whether it's town issues and community activism, or school calendars and sports schedules, AmericanTowns delivers the information faster and helps you use it better.
en-us
30
https://www.devel4.americantowns.com/madrid-ny
Upcoming Events for Madrid NY - AmericanTowns.com
https://www.devel4.americantowns.com/madrid-ny
https://www.devel4.americantowns.com//images/atn_rss_logo.gif
Sun, 01 Feb 2026 13:31:29 -0600
-
Feb 06,2026: Clarkson Golden Knights Mens Hockey vs. Rensselaer Polytechnic Engineers Mens Hockey
7:00pm: Cheel Arena. Clarkson Golden Knights Mens Hockey vs. Rensselaer Polytechnic Engineers Mens Hockey
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-rensselaer-polytechnic-engineers-mens-hockey-2026-02-06-tm-potsdam-ny.html
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-rensselaer-polytechnic-engineers-mens-hockey-2026-02-06-tm-potsdam-ny.html
Sun, 01 Feb 2026 13:31:29 -0600
-
Feb 07,2026: Clarkson Golden Knights Mens Hockey vs. Union College Garnet Chargers Hockey
4:00pm: Cheel Arena. Clarkson Golden Knights Mens Hockey vs. Union College Garnet Chargers Hockey
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-union-college-garnet-chargers-hockey-2026-02-07-tm-potsdam-ny.html
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-union-college-garnet-chargers-hockey-2026-02-07-tm-potsdam-ny.html
Sun, 01 Feb 2026 13:31:29 -0600
-
Feb 20,2026: Clarkson Golden Knights Mens Hockey vs. Yale Bulldogs Hockey
7:00pm: Cheel Arena. Clarkson Golden Knights Mens Hockey vs. Yale Bulldogs Hockey
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-yale-bulldogs-hockey-2026-02-20-tm-potsdam-ny.html
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-yale-bulldogs-hockey-2026-02-20-tm-potsdam-ny.html
Sun, 01 Feb 2026 13:31:29 -0600
-
Feb 21,2026: Clarkson Golden Knights Mens Hockey vs. Brown University Bears Hockey
4:00pm: Cheel Arena. Clarkson Golden Knights Mens Hockey vs. Brown University Bears Hockey
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-brown-university-bears-hockey-2026-02-21-tm-potsdam-ny.html
https://www.devel4.americantowns.com/event/clarkson-golden-knights-mens-hockey-vs-brown-university-bears-hockey-2026-02-21-tm-potsdam-ny.html
Sun, 01 Feb 2026 13:31:29 -0600