Your description about which 'template' is a bit sketchy. Since the error message included the CU-HWS-master in the path, I'm guessing that it's my distribution of Brian Underdown's PWS template from
https://github.com/ktrue/CU-HWS .. if that's correct, and the mooninfo.php referred to in the error message aligns with lines that contain code like line 194
Code: Select all
else if ($sunrotate <17.01 ) echo "${sunrotate} . ${minutesagosunrise} " *13;else if ($sunrotate >17 ) echo "${sunrotate} . ${minutesagosunrise} " *14;?>deg);?>deg);
and the other cited lines have similar structure.
My guess is that the
Code: Select all
echo "${sunrotate} . ${minutesagosunrise} " *13
is the cause. You might try globally replacing
Code: Select all
"${sunrotate} . ${minutesagosunrise} "
with
Code: Select all
"${sunrotate}.${minutesagosunrise}"
in the script and see if that eliminates the 'non well formed numeric value' messages.