Page 1 of 1

Error on Home Page

Posted: Wed 18 Apr 2018 4:04 pm
by acatalano
I updated the Saratoga Templates on 4/12/2018 and everything was working fine. Today I noticed the error below on the home page, so I thought I'd check again for updates.

Warning: Invalid argument supplied for foreach() in /home/www/boulderwx.com/get-USNO-sunmoon.php on line 360

Warning: Invalid argument supplied for foreach() in /home/www/boulderwx.com/get-USNO-sunmoon.php on line 371

Sure enough advforecast2.php had been updated since then so I installed this. I thought it might be the issue, but I'm still getting the error above. Any ideas why?

Re: Error on Home Page

Posted: Wed 18 Apr 2018 11:02 pm
by ConligWX
looks like possible DNS lookup issues against USNO.

https://cumulus.hosiene.co.uk/viewtopic.php?t=15052

your site however is seriously slow.

https://gtmetrix.com/reports/www.boulderwx.com/xLxU3O1X

Re: Error on Home Page

Posted: Thu 19 Apr 2018 12:07 pm
by acatalano
Many thanks for the reference! It appears to be a US Navy problem again. Using the IP address also fails. I've contacted the webmaster there and have renamed the php file so it no longer attempts to load, causing the site to hang. Loads instantly again.