Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 incompatibility #28

Open
RedSign77 opened this issue Apr 13, 2022 · 0 comments
Open

PHP 8.1 incompatibility #28

RedSign77 opened this issue Apr 13, 2022 · 0 comments

Comments

@RedSign77
Copy link

RedSign77 commented Apr 13, 2022

Hey!

We are upgraded our Magento instance to 2.4.4 and using PHP 8.1 and when a customer try to register then throwing a deprecated error in:

vendor/reflektion/reflektion_magento_2/view/frontend/templates/analytics/rfk_customer_login_analytics.phtml:13

We added a null check here and it's working fine:

    $customerAttributes = $block->getConfig('reflektion_analytics/script/customer_attributes');
    $customerAttributesArr = $customerAttributes !== null ? explode(',', $customerAttributes) : '';
    if ($customerAttributes == "") {
        $attributes = (object)array();
    } else {

Can you please upgrade your extension to compatible with the new Magento and PHP version?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant