9 votes

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1

I was also getting this same issue. As a temporary fix, I have copied customer-data.js from 2.3.4 to 2.4.1. Magento has changed the storage initialization in custom-data.js. UPDATE I have debugged ...
Anshu Mishra's user avatar
  • 8,960
7 votes
Accepted

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1

Inside the customer-data.js for Magento 2.4 (/vendor/magento/module-customer/view/frontend/web/js/customer-data.js), Magento have moved the storage initialisation. Instead of being available on a ...
Zudian's user avatar
  • 358
5 votes

Uncaught TypeError: Cannot read property 'remove' of undefined -- upgrade from 2.3.4 to 2.4.1

I got it working by manually recreating the minicart.phtml file and place this script at the bottom of the file. What I did differently was re-init-ing the Storage before I try to invalidate it, which ...
Max's user avatar
  • 309
2 votes

Magento2.2.6: When I try to edit configurable product than getting this error, facing this issue with only one product

The problem is, we had a configurable product set to use with two configurable attributes. However, one or more of the simple products that were associated did not have a value for the configurable ...
Anas Mansuri's user avatar
  • 2,627

Only top scored, non community-wiki answers of a minimum length are eligible