Skip to content

PHP 8 issue using the module into Magento 2.4.5 context #20

@gianstraf

Description

@gianstraf

Hi,
due to the use of module on PHP 8.1 we have found a problem into

$cookieNameValues = explode("&", $cookieValue);

and

$arr = explode("=", $cookieNameValues[$i]);

when the second param is null (PHP Deprecated: explode(): Passing null to parameter #2).

Same problem here:

if (substr($queueDomain, -1) !== "/")

with substr function (PHP Deprecated: substr(): Passing null to parameter #1).

In our context, the module required by queueit/knownuser throws an error when used on the Magento 2.4.5 context (magento/magento2#35875).

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions