Thanks, weatherdoc. Yes, I think you are right that there must be a time discrepancy somewhere, even though the data on the console displays correctly and matches the website dashboard. As a temporary fix, I commented out the “next update” lines in the script and the warning now no longer shows up. I will try to find where the error is coming from.
After a lot of searching and failed attempts, I finally found a fix in davconvp2CW-inc.php so that the “Next Graph & Update @ ~” message is no longer “frozen” at 12:00 am and now shows the correct next update time.
First, I had to comment out lines 110 and 112 in davconvp2CW.php, which removes the notice: Warning: A non-numeric value encountered in /home/sartelleast/www/www/davconvp2CW.php on line 110.
Then in davconvp2CW-inc.php, I changed line 280 from
<?php if ($showupdate === 1) { ?>
<div class="cellLeft50"> <?php echo 'Next Graph & Forecast update @ ~ ' . $nextupdate; ?> </div>
to
<?php if ($showupdate === 1) { ?>
<div class="cellLeft50"> <?php echo 'Next Graph & Forecast update @ ~ ' . $timeofnextupdate; ?> </div>
(I just addied “time of” to “$nextupdate;”)
Finally, I also set up a NWS Forecast upload in WD to replace the Davis VP forecast on the console ticker.
Not sure if I understand why the change in line 280 made a difference, but the page seems to be working fully now.