Page 1 of 1

minor problems with php 8.1

Posted: Thu Aug 25, 2022 12:35 pm
by meteoesine
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)

Re: minor problems with php 8.1

Posted: Thu Aug 25, 2022 8:46 pm
by davidefa
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 )

Re: minor problems with php 8.1

Posted: Fri Aug 26, 2022 5:37 am
by meteoesine
tnx u very much

Re: minor problems with php 8.1

Posted: Thu Sep 01, 2022 5:53 pm
by meteoesine
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

Re: minor problems with php 8.1

Posted: Thu Sep 01, 2022 8:59 pm
by davidefa
Yes, null values should not be treated as 0 values ( noticed this even in other blocks pages ).

Re: minor problems with php 8.1

Posted: Sun Jan 08, 2023 7:42 am
by meteoesine
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

Re: minor problems with php 8.1

Posted: Sun Jan 08, 2023 10:22 am
by Jolumarali
good morning
No problem for me, I'm still on PHP 7.4 !

José Luis

Re: minor problems with php 8.1

Posted: Sat Jan 21, 2023 11:20 pm
by FSC830
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
Hi,
how did you fix that?
Having the same issue here :shock: , 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 :D (or it did take some time).

Re: minor problems with php 8.1

Posted: Mon Jan 23, 2023 3:51 pm
by meteoesine
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 ;) )

Re: minor problems with php 8.1

Posted: Mon Jan 23, 2023 8:35 pm
by FSC830
Ah, thats why it actually shows all years, you are back to 7.4 :D .
But as written above in my edit, it was fixed after some hours.

I am still running now at PHP 8.1.14.

Regards