Skip to content

Some errors deprecated from passing null to parameter #402

@reunite-ro

Description

@reunite-ro

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions