I was able to get around the "Uncaught TypeError: abs(): Argument #1 ($num) must be of type int|float," error by adding a settype line of code before the abs().
<?php settype($sevendayet,"float"); ?>
<span class="convRain"><?php echo abs($sevendayet) . $uomRain; ?> </span>
Not sure if this was the best method, but it works.
My next error is now in cloud-base.php. I am using the cloud-base.php you supplied in the zip file in post #2. I must be blind because I can't figure this one out:
[09-Jun-2021 16:28:32 UTC] PHP Parse error: syntax error, unexpected token "," in /home/mxo4kz4ohhnx/public_html/cloud-base.php on line 863
if (match($imgMist,$clouds["pic"])) { <<<<<<<<<<<<<<< line 863
$pt = $cldhgt==0?200:170;
$cY = $pt - $clouds["base"] - round($cldhgt/$scale["step"]);;
} else {
$pt = 170 - round($cldhgt/$scale["step"]);
$cY = $pt - $clouds["base"];
}
https://ajijicweather.com/wxindex.php