Skip to content

Deprecated warning when clearing brand image #886

@dalers

Description

@dalers

Deprecated warning when editing a brand to delete the brand image (using PHP 8.2).

What is your opinion on creating issues for deprecated warnings? It seems this will not become a fatal error until PHP 9.0 ("likely late 2027 or 2028"), but they could make a nice todo list for when we want to support PHP 9.0 if they were given a label like e.g. "PHP 9.0".

Warning: Undefined variable $ImageFile in C:\xampp\htdocs\weberp\Manufacturers.php on line 87

Deprecated: is_file(): Passing null to parameter #1 ($filename) of type string is deprecated in C:\xampp\htdocs\weberp\Manufacturers.php on line 87

add brand with image

Image

edit brand and attempt to clear image

Image

result

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions