I tried going to the developers website for this but got a “service unavailable” response from the server so I thought I’d post here in case anyone else come across this. I have no solution for it at this time other than to remove the code from the template.
I’m using the Weather Icon Expression Engine plugin on our non-profit company website. The homepage freaked out today and I tracked the problem down to this plugin. There was a Tornado Warning in our area today which may have caused the plugin to fail. I’ve pasted the sequence of code below where the problem apparently resides. For the time being I’ve had to remove the code from the home page but if you have a solution for this I’d appreciate it. It’s been working great for many months.
if (isset($cache_age) && $cache_age < $wxInfo['CACHE_TIMEOUT']) {
$fp = fopen($metar_cache, "r");
$metar=fread($fp, filesize($metar_cache));
fclose($fp);
}
