get-USNO-sunmoon.php error
Posted: Sat 28 Jul 2018 11:07 am
Hello
I updated the templates as described in another thread and now I get the following errors.. any ideas please?
Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/weather/get-USNO-sunmoon.php on line 360
Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/weather/get-USNO-sunmoon.php on line 371
360
foreach($MoonJSON['sundata'] as $n => $d) {
371
foreach($MoonJSON['moondata'] as $n => $d) {
Cheers
Mark
I updated the templates as described in another thread and now I get the following errors.. any ideas please?
Warning: Invalid argument supplied for foreach() in /home/xxxx/public_html/weather/get-USNO-sunmoon.php on line 360
Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/weather/get-USNO-sunmoon.php on line 371
360
foreach($MoonJSON['sundata'] as $n => $d) {
371
foreach($MoonJSON['moondata'] as $n => $d) {
Cheers
Mark