Skip to content

Magento 2.4.5 PHP 8.1 - Cannot save Gigya Settings #135

@mtwegrzycki

Description

@mtwegrzycki

System:
Magento: 2.4.5-p1 and we updated PHP to version 8.1.
PHP: 8.1
gigya/magento2-im: 6.0.0

Issue description
When we try to save Gigya's new settings in Magento Admin Panel, we got the following error:
image

We discovered that in the following class vendor/gigya/magento2-im/Helper/CmsStarterKit/GigyaApiHelper.php in line 388, Gigya provides null as a parameter:
image

PHP 8.1 requires integer (0) for this case:
image

Possible solution:
When we temporary set 0 instead of null for enc method, it works correctly and we were able to save configuration in Magento Admin Panel, but it is file in vendor, so we should not modify any files there

Question:
Please, let me know, if it is issue on Gigya side or something is incorrect with our configuration/setup.
If issue is on Gigya side, please let me what is recommended solution, or do you plan any fix for this case?

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