1

When I activate the integrated Klarna module and try to buy items in the shop I get the following error message in the console:

Error: [object Object] customer-data.js:91:23

return $.getJSON(options.sectionLoadUrl, parameters).fail(function (jqXHR) {
                throw new Error(jqXHR);
            });

The page loads forever and I cannot get to the checkout page.

2
  • Project is in developer mode? Commented May 29, 2019 at 6:54
  • If my answer is useful to you then accept an answer, so it will be useful to another user. Thanks Commented Jun 13, 2019 at 8:26

1 Answer 1

0

If your project in developer mode then this error appears when I switch from Client-Side to Server-Side Compilation in

Stores->Configuration->Advanced->Developer->Frontend Development Workflow > Workflow type

So customer-data.js uses the localStorage within the browser itself to store a variety of information, so you can clear the Magento Cache all you want and you will still have issues.

If you still getting the issue then clear the Local Storage session & Cookies.

You can clear using the following way:

  1. Google Chrome is hit F12 to open the Developer Toolbar
  2. Then select the Application tab. Clear the Local Storage, Session Storage, and Cookies.
  3. Reload the page and all should be well.
  4. You will have to do this on your admin page as well.

Click here for more refrance

I hope it helps! Thanks.

1
  • I find difficulty around refreshing placements for configurable products. Could you please help me with it? Commented May 17, 2020 at 3:42

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.