This is one that's apparently been there a while but I never hit the error condition before.
if (!preg_match('|200 |', $RC)) {
$t = array(
"unable to load $icao data RC=$RC",
5,
'day_partly_cloudy.gif',
"unable to load $icao data RC=$RC",
array() ,
$metarGMT
);
$Debug.= "<!-- mtr_conditions returns RC='" . $RC . "' for ICAO/METAR='$icao' -->\n";
return $t;
}
The problem is that $metarGMT isn't set (only gets set below after successful METAR fetch). Going to just set to zero for now...