I am using Magento2.1.9 getting this error
in our console
i am trying to different solutions but not fix it.please if any one know reply me
-
I ain't sure but I think its due to local storage, You can give a try to clear local storage data and clear cookie. It should work.– anonymousCommented Mar 5, 2019 at 6:07
-
yes but i m not clear every time in console any solution for other way– Rv SinghCommented Mar 5, 2019 at 6:11
-
After clearing local storage does error disappear ?– anonymousCommented Mar 5, 2019 at 6:12
Add a comment
|
1 Answer
It turns out that customer-data.js uses the localStorage to store a variety of stuff (probably for caching purposes). This means that when a module (or Magento) updates, you'd better make sure to flush your local storage as well.
Reference - You can find some more solution here :