Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Wednesday, July 6, 2022

Solved: Failed to Set ini Option “session.cookie_samesite” to Value “Lax” in Magento 2.3.6-p1

Magento 2.3.6-p1 was a massive upgrade for the store owners that came with new features and functionalities. However, after upgrading to it, many of the store owners complained of the following error : report.ERROR: Failed to set ini option "session.cookie_samesite" to value "Lax"

In order to solve the Failed to Set ini Option “session.cookie_samesite” to Value “Lax” in Magento 2.3.6-p1, the store must have the PHP 7.3 or above. If not, then set it to PHP 7.3 or above. However, if you don’t want to upgrade the PHP version, then here’s another solution.


You just need to change the code in the SessionManager.php file at the vendor\magento\framework\Session\. You can read the complete solution at : https://meetanshi.com/blog/solution-failed-to-set-ini-option-session-cookie-samesite-to-value-lax-in-magento-2-3-6-p1/

No comments:
Write comments


Get more of our update !