Now that I think about it also logical, the display of metar data changes but not the day or night display
I also checked all the timezone settings but nothing changes, I don't know where to look for it.
Thanks for your advice though.
Sjaak
Moderator: saratogaWX
Ahh more work for me:) you got me at a good time. just moved CumulusMX to a new SSD hard disk and installed a new OS too (Ubuntu 22.04 - clean install) also now running as a service, which all of that I thought would be more pain than it was worth but so far fingers cross it went as planned.BCJKiwi wrote: ↑Fri 22 Apr 2022 11:05 pm Have made a minor update to this package.
Available at
https://silveracorn.nz/weather/wxscripts.php
The only changes are:-
The date at the top of the file, and at line 798 ( another php 8 'fix' ).
Code: Select all
<br />
<b>Fatal error</b>: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in wairoa.net/weather/cloudbaseCUmx.php:382
Stack trace:
#0 wairoa.net/weather/cloudbaseCUmx.php(382): round('')
#1 {main}
thrown in <b>wairoa.net/weather/cloudbaseCUmx.php</b> on line <b>382</b><br />I'm running php 8.3.x and working here. I'll have a look tonight when I am home and pm you my script if you like.JennyLeez wrote: ↑Thu 23 Jan 2025 3:02 am Good Day,
My server is pushing me from php8.0 to php8.1 which is causing issues.
My cloudbase is blank so I downloaded your latest package following your links above and began again.
I am getting the following error and I am wondering if some kind person could help me please.
Once again I am missing our beteljuice
Any help would be much appreciated.Code: Select all
<br /> <b>Fatal error</b>: Uncaught TypeError: round(): Argument #1 ($num) must be of type int|float, string given in wairoa.net/weather/cloudbaseCUmx.php:382 Stack trace: #0 wairoa.net/weather/cloudbaseCUmx.php(382): round('') #1 {main} thrown in <b>wairoa.net/weather/cloudbaseCUmx.php</b> on line <b>382</b><br />
Thanks
Jenny
PS Not sure whether I need to upload file. Not sure whether I should with my details. Let me know if need.
Code: Select all
[23-Jan-2025 23:10:30 UTC] PHP Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /home/dmjsystems/public_html/weatherbos/cloudbaseCUmx.php:602
Stack trace:
#0 /home/dmjsystems/public_html/weatherbos/cloudbaseCUmx.php(602): imagecopyresampled()
#1 {main}
thrown in /home/dmjsystems/public_html/weatherbos/cloudbaseCUmx.php on line 602