Get-aqi-rss.php issue [Solved]

anyone seeing this error below? Any ideas of the cause? Thank you

Web site: http://curtiszmweather.com/index.php

Notice : Undefined offset: 1 in /home/curtiszm/public_html/get-aqi-rss.php on line 60

Notice : Undefined offset: 2 in /home/curtiszm/public_html/get-aqi-rss.php on line 61

Notice : Undefined offset: 3 in /home/curtiszm/public_html/get-aqi-rss.php on line 62

Found the issue. The rss feed selected was not reporting.

I know this is an old thread but my sites doing the same thing now. Can you tell me what you did to resolve? I assume you have to select a different feed somewhere. I’ll look into it later but it’s been many years since I messed with it and figured you may be able to give me some pointers. Thanks
John

Www.auburnweatherlive.com

Recent topic: is this any help?

Turned out the feed i had specified in get-aqi-rss.php was no good. The crazy thing is i never changed it from the default (california) whenever this script was created. I guess i’ve been showing Kens location for Air quality forever lol. Anyway i’m good.
Thanks guys,
John

3 Likes

i dont think your the only one i assumed incorrectly that my location was used in the script and now see its not, and have not found a UK link to replace it

did find a link UK Air Pollution - Current levels but it did not work on my local unit Ballaugh Weather - Home so i assume the format of the xml does not match what the script is looking for