minor problems with php 8.1
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
minor problems with php 8.1
found the following:
if you modify a field in the Database Editing - Extra Sensors, when you reload the page the previous data is shown (modification not made). ok instead if you delete the entire record.
*********************
plugin stationExtremes:
https://meteoesine.it/template/plugins/ ... onthly.php
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/monthly.php on line 44
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/monthly.php on line 62
https://meteoesine.it/template/plugins/ ... /daily.php
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/daily.php on line 56
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/daily.php on line 75
*******************************
plugin: windDirection
https://meteoesine.it/template/plugins/ ... lector.php
periodic graph (both wind and gust) when selecting a period greater than 1 day it freezes
*********************************
https://meteoesine.it/template/pages/st ... ndices.php
does not work (blank page)
if you modify a field in the Database Editing - Extra Sensors, when you reload the page the previous data is shown (modification not made). ok instead if you delete the entire record.
*********************
plugin stationExtremes:
https://meteoesine.it/template/plugins/ ... onthly.php
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/monthly.php on line 44
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/monthly.php on line 62
https://meteoesine.it/template/plugins/ ... /daily.php
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/daily.php on line 56
Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/cldvlwax/public_html/template/plugins/stationExtremes/daily.php on line 75
*******************************
plugin: windDirection
https://meteoesine.it/template/plugins/ ... lector.php
periodic graph (both wind and gust) when selecting a period greater than 1 day it freezes
*********************************
https://meteoesine.it/template/pages/st ... ndices.php
does not work (blank page)
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: minor problems with php 8.1
I've updated your pages.
Regarding the database editing that fails, I noticed that too, it should fail when editing a line with null values ( I should have corrected in this admin mod: viewtopic.php?f=51&t=2298#p11653, did not install in your server )
Regarding the database editing that fails, I noticed that too, it should fail when editing a line with null values ( I should have corrected in this admin mod: viewtopic.php?f=51&t=2298#p11653, did not install in your server )
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: minor problems with php 8.1
It's not a problem, but just a clarification:
my alldataExtra database was created in May,
in the statistics .../template/pages/station/climate.php?var=xxx it displays 0 although it should be null
there are no 0 values, is that correct?
tnx
my alldataExtra database was created in May,
in the statistics .../template/pages/station/climate.php?var=xxx it displays 0 although it should be null
there are no 0 values, is that correct?
tnx
- Attachments
-
- ScreenShot01141.jpg (29.15 KiB) Viewed 1113 times
-
- ScreenShot01139.jpg (37.96 KiB) Viewed 1113 times
-
- ScreenShot01142.jpg (22.73 KiB) Viewed 1113 times
-
- Expert
- Posts: 862
- Joined: Tue Jan 12, 2021 8:03 am
- Location: Italy
- Station model: WH2650
- Software: WH2650 (direct upload)
- Contact:
Re: minor problems with php 8.1
Yes, null values should not be treated as 0 values ( noticed this even in other blocks pages ).
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: minor problems with php 8.1
happy new year to all the forum
I noticed that in the rain statistics (only that), selecting by year, it displays only that of 2014 while all the others (all months) are displayed correctly,
https://meteoesine.it/template/pages/st ... .php?var=R
some idea?
thank you
I noticed that in the rain statistics (only that), selecting by year, it displays only that of 2014 while all the others (all months) are displayed correctly,
https://meteoesine.it/template/pages/st ... .php?var=R
some idea?
thank you
- Attachments
-
- 2023-01-08_083244.png (21.01 KiB) Viewed 680 times
- Jolumarali
- Forecaster
- Posts: 240
- Joined: Sun Aug 20, 2017 2:06 pm
- Location: Lignerolles
- Station model: Vantage Vue
- Software: WlIP
- Contact:
Re: minor problems with php 8.1
good morning
No problem for me, I'm still on PHP 7.4 !
José Luis
No problem for me, I'm still on PHP 7.4 !
José Luis
Station météo amateur Lignerolles
OS : Windows 10 Famille
Vantage Vue
Weatherlink 2.0 (WlIP)
Meteotemplate 18.0 Papaya
https://meteo-lignerolles.fr
José Luis
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: minor problems with php 8.1
Hi,meteoesine wrote: ↑Sun Jan 08, 2023 7:42 am happy new year to all the forum
I noticed that in the rain statistics (only that), selecting by year, it displays only that of 2014 while all the others (all months) are displayed correctly,
https://meteoesine.it/template/pages/st ... .php?var=R
some idea?
thank you
how did you fix that?
Having the same issue here , only an empty 1970 is displayed.
Regards
Edit: Forget the question, just checked again and now all years are displayed. When I called this page earlier this day only 1970 was showed up. Strange... self healing mystery of data (or it did take some time).
- meteoesine
- Forecaster
- Posts: 166
- Joined: Sun Aug 20, 2017 4:08 pm
- Location: Esine, Valcamonica (BS) - Italy
- Station model: Davis Pro2+
- Software: Meteobridge nano
- Contact:
Re: minor problems with php 8.1
as far as I'm concerned it's a matter of php 8.1 ... putting back 7.4 it works correctly (so while it still goes, I keep that )
-
- Forecaster
- Posts: 139
- Joined: Thu Aug 02, 2018 11:40 am
- Station model: Davis Vantage Pro2
- Software: Meteobridge
Re: minor problems with php 8.1
Ah, thats why it actually shows all years, you are back to 7.4 .
But as written above in my edit, it was fixed after some hours.
I am still running now at PHP 8.1.14.
Regards
But as written above in my edit, it was fixed after some hours.
I am still running now at PHP 8.1.14.
Regards