I've found the issue in these two scripts .. oddly enough, the same un-quoted constants in both.
The original code was $uomTemp = $SITE[uomTemp]; // set here in case gizmo is not used
$uomRain = $SITE[uomRain]; // set here in case gizmo is not used
$imagesDir = $SITE[imagesDir]; // set here in case gizmo is not used
with the fix being $uomTemp = $SITE['uomTemp']; // set here in case gizmo is not used
$uomRain = $SITE['uomRain']; // set here in case gizmo is not used
$imagesDir = $SITE['imagesDir']; // set here in case gizmo is not used
and original of $year = $today[year];
$month = $today[mon];
$day = $today[mday];
and the fix being $year = $today['year'];
$month = $today['mon'];
$day = $today['mday'];
It was the same for wxglobalwarming.php and wxraintrending.php