Skip to content

PHP 8.1 Compatibility - TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given #104

@chapagain

Description

@chapagain

Magento Version: 2.4.5-p1
BV Version: 9.1.5

We are getting the following error in our Magento error log:

[2022-11-29T00:39:16.995302+00:00] report.CRITICAL: TypeError: str_replace(): Argument [# 3] ($subject) must be of type array|string, null given in /app/xxx/vendor/bazaarvoice/bazaarvoice-magento2-ext/Model/Indexer/Eav.php:561 Stack trace: [#0] /app/xxx/vendor/bazaarvoice/bazaarvoice-magento2-ext/Model/Indexer/Eav.php(561): str_replace('/', '-', NULL)

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