Skip to content

[BUG] PHP Deprecated: sha1(): Passing null to parameter #1 ($string) of type string is deprecated #236

@Maofree

Description

@Maofree

Prerequisites

Describe the bug and add attachments

Hi
can you fix this php alert?
I'm using prestashop 9.0.2 with php 8.4

PHP Deprecated: sha1(): Passing null to parameter #1 ($string) of type string is deprecated in /home/ilmiopla/public_html/modules/psgdpr/psgdpr.php on line 701

Image

thanks

Expected behavior

No response

Steps to reproduce

this alert is present in the error_log

PrestaShop version(s) where the bug happened

9.0.2

PHP version(s) where the bug happened

8.4

Your company or customer's name goes here (if applicable).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions