We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It gives me folllowing error after installation
Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Stdlib\Cookie\PublicCookieMetadata::setSameSite() in /var/www/html/app/code/Veriteworks/CookieFix/Plugin/SwitchSameSite.php:67 Stack trace: #0 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Veriteworks\CookieFix\Plugin\SwitchSameSite->beforeSetPublicCookie(Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor), 'PHPSESSID', 'ahji1fi0bn7jsur...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #1 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor->Magento\Framework\Interception{closure}('PHPSESSID', 'ahji1fi0bn7jsur...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #2 /var/www/html/generated/code/Magento/Framework/Stdlib/Cookie/PhpCookieManager/Interceptor.php(26): Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor->___callPlugins('setPublicCookie', Array, Array) #3 /var/www/html/vendor/m in /var/www/html/app/code/Veriteworks/CookieFix/Plugin/SwitchSameSite.php on line 67
The text was updated successfully, but these errors were encountered:
@HirokazuNishi Since you remove the override \Magento\Framework\Stdlib\Cookie\PublicCookieMetadata the function setSameSite was no longer exist
Sorry, something went wrong.
Related issue #23
No branches or pull requests
It gives me folllowing error after installation
Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Stdlib\Cookie\PublicCookieMetadata::setSameSite() in /var/www/html/app/code/Veriteworks/CookieFix/Plugin/SwitchSameSite.php:67 Stack trace: #0 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Veriteworks\CookieFix\Plugin\SwitchSameSite->beforeSetPublicCookie(Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor), 'PHPSESSID', 'ahji1fi0bn7jsur...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #1 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor->Magento\Framework\Interception{closure}('PHPSESSID', 'ahji1fi0bn7jsur...', Object(Magento\Framework\Stdlib\Cookie\PublicCookieMetadata)) #2 /var/www/html/generated/code/Magento/Framework/Stdlib/Cookie/PhpCookieManager/Interceptor.php(26): Magento\Framework\Stdlib\Cookie\PhpCookieManager\Interceptor->___callPlugins('setPublicCookie', Array, Array) #3 /var/www/html/vendor/m in /var/www/html/app/code/Veriteworks/CookieFix/Plugin/SwitchSameSite.php on line 67
The text was updated successfully, but these errors were encountered: