1

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

enter image description here

Amit Naraniwal
1,3081 gold badge11 silver badges20 bronze badges
asked Mar 5, 2019 at 5:50
3
  • 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. Commented Mar 5, 2019 at 6:07
  • yes but i m not clear every time in console any solution for other way Commented Mar 5, 2019 at 6:11
  • After clearing local storage does error disappear ? Commented Mar 5, 2019 at 6:12

1 Answer 1

2

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 :

https://github.com/magento/magento2/issues/6410

https://github.com/magento/magento2/blob/9db4501d29028ba9ac552f14d80b42bc923847f4/app/code/Magento/Review/etc/frontend/di.xml#L32

answered Mar 5, 2019 at 6:28

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.