FluxCP icon indicating copy to clipboard operation
FluxCP copied to clipboard

Some errors deprecated from passing null to parameter

Open reunite-ro opened this issue 5 months ago • 0 comments

Environment

- PHP: 8.1
- MySQL: 10.5.26-MariaDB-0+deb11u2 - Debian 11

Current Behavior

Some errors depreciated from passing null to parameter

PHP Deprecated:  number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /home/public_html/themes/default/monster/index.php on line 107
PHP Deprecated:  strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public_html/lib/Flux/Template.php on line 1099
PHP Warning:  Undefined array key 1 in /home/public_html/lib/Flux/Template.php on line 325
PHP Deprecated:  urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public_html/lib/Flux/Template.php on line 327
PHP Deprecated:  round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/public_html/themes/default/item/view.php on line 53

These a lot of errors resulting of high disk usage just for the error logs.

Expected Behavior

No response

Steps To Reproduce

Run with the environment stated and see error logs.

Anything else?

No response

reunite-ro avatar Sep 21 '24 05:09 reunite-ro