Skip to content

On Customer Login getting Fatal error - Call to undefined method setSameSite() #23

@WebDweller

Description

@WebDweller

Hello,

After installing the extension, this error appears when Customer Login is attempted.

Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Stdlib\Cookie\PublicCookieMetadata::setSameSite() in /home/customer/www/mysomesite.com/public_html/app/code/Veriteworks/CookieFix/Plugin/SwitchSameSite.php:67 Stack trace: #0 /home/customer/www/mysomesite.com/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Veriteworks\CookieFix\Plugin\SwitchSameSite->beforeSetPublicCookie(Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor), 'private_content...', '07c029ee82b5d34...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #1 /home/customer/www/mysomesite.com/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor->Magento\Framework\Interception\{closure}('private_content...', '07c029ee82b5d34...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #2 /home/customer/www/mysomesite.com/public_html/generated/code/Magento/Framework/Stdlib/Cookie/PhpCookieManager/In in /home/customer/www/mysomesite.com/public_html/app/code/Veriteworks/CookieFix/Plugin/SwitchSameSite.php on line 67

Magento Community 2.3.6
CookieFix latest version installed today
HTTPS is enabled

Checked on:
Mozilla Firefox: 84.0.2 (32-bit)
Microsoft Edge: Version 87.0.664.66 (Official build) (64-bit)
Chrome: Version 87.0.4280.88 (Official Build) (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions