Questions tagged [cookie]
Denotes a question related to the Browser cookie.
336 questions
0 votes
5 answers
100 views
Magento Website Malware
I have Magento website and it have some kind of the malware that did SQL Injection, and also on each reload of my page it add scripts to my DB under cms_block content of each record, also on website ...
0 votes
0 answers
51 views
Magento2 backend kicks out admin user
when I open console in magento2 admin it kicks me out and then I have formkey issue on same user.
1 vote
2 answers
801 views
Magento 2 : Error of cookieMessagesObservable is not defined
I have updated the Magento to 2.4.7 recently and updated it to the staging server. I am getting the error that cookieMessagesObservable is not defined in the console and due to this Minicart is not ...
1 vote
1 answer
222 views
Mage-messages cookie is not getting clear in specific store in magento setup
I am facing a strange issue with cookies in the Magento store. The problem is that the "mage-messages" cookie is not being cleared in the US store. In Magento, we have a setting as shown in ...
0 votes
0 answers
133 views
Add to Cart Not Working After Upgrade to 2.4.6.-p3
after upgrading to Magento version 2.4.6-p3 , Add to cart not working, it just shows adding and then nothing happens. also when I go from category page with options products , it does not shows any ...
0 votes
1 answer
92 views
How to prevent user sending requests frequently?
I believe it can be done with a PHP controller or JS cookie manipulation. Help me with logic. For example, I want a user to send a request once every 2 minutes. Let's pretend I've implemented some ...
0 votes
1 answer
654 views
What are the native cookies Magento has?
What's the list of out-of-the-box cookies on Magento OpenSource and Adobe Commerce Cloud?
1 vote
1 answer
494 views
Magento 2 - Customer sometimes receiving 503 Error when performing random actions on the cart
I'm experiencing an issue where customers are intermittently receiving a 503 error (maintenance flag) when performing certain actions on the cart in Magento 2. For example, in one scenario, a guest ...
1 vote
0 answers
1k views
How is PHPSESSID cookie being set in Magento 2?
The only place I could find where the cookie actually not being initialized but renewed on every request is renewCookie() function in Magento\Framework\Session\SessionManager. Whenever there is a new ...
0 votes
1 answer
3k views
Invalid form key. Please refresh the page on Front End
When I try to login as user I have the problem of invalid form key on frontend. Once the page is refreshed, the login works. We have 4 sites main.it subdomain.main.it second.it subdomain.second.it ...
0 votes
0 answers
43 views
BIG ISSUE - "Shopping Cart is empty" after ordering
Our site has been working fine, but a customer phoned today to let us know he couldn't buy. If you try and purchase any item on www.medipost.shop you can add it to the shopping basket, but as soon as ...
1 vote
2 answers
2k views
Magento 2.4.4 - Call to a member function getCookieSecure() on null
After updating from 2.3.5 to 2.4.4-p2 I am getting an error when the frontend loads. This is how it looks, when I load the frontend: https://i.sstatic.net/L1liN.png The admin works just fine and there ...
1 vote
1 answer
877 views
Set cookie not working with varnish
I've created the following observer method that sets a cookie: if ($this->_cookieManager->getCookie(self::COOKIE_NAME)) { $this->_cookieManager->deleteCookie( ...
2 votes
1 answer
615 views
Cookie problem after updating to 2.4.4-p2 (page not loading)
After updating from 2.3.5 to 2.4.4-p2 I am getting an error when the frontend loads. This is how it looks, when I load the frontend: https://i.sstatic.net/L1liN.png The admin works just fine and there ...
2 votes
0 answers
83 views
Magento 2.3.3 Login at checkout not working sometimes
in our Magento when user insert their email at checkout if they already have an account, they are asked to optionally login. Sometimes when the user login using the correct password, the user is ...