Just updated my server to php 7.3.23
I am getting a new error now every time it runs on cron job. It completes the script but sends me the following error...
[13-Oct-2020 16:42:06 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/path/public_html/nwsiconalerts.php on line 6
The nwsiconalerts.php is as follows...
<?php
include_once("nws-alerts-config.php"); // include the config file
include($cacheFileDir.$iconFileName); // include the big icon file
// construct icons
$bigIcos = '';
$biCount = count($bigIcos);
foreach($bigIcons as $bigI) {
$bigIcos .= '<td class="atd" colspan="'.$biCount.'">'.$bigI."</td>\n";
}
?>
<table class="atable">
<tr>
<?php echo $bigIcos; ?>
</tr>
</table>
Running latest version of nws-alerts script. Any help would be appreciated, thanks.
http://vermilionweather.com/Rick