tradefurniturecompany / site

tradefurniturecompany.co.uk (Magento 2)
https://upwork.com/fl/mage2pro
2 stars 0 forks source link

[Mageplaza_Osc] Checkout is freezing at localhost because of JavaScript errors: «Cannot read properties of null (reading 'value')» #238

Closed dmitrii-fediuk closed 1 year ago

dmitrii-fediuk commented 1 year ago

Similar to https://github.com/tradefurniturecompany/site/issues/237

The failure point: https://github.com/magento/magento2/blob/2.3.2/app/code/Magento/Checkout/view/frontend/web/js/view/estimation.js#L34

return parseFloat(totals.getSegment('grand_total').value);
dmitrii-fediuk commented 1 year ago

It is a bug of my Apache server: it returns garbage data (???????) to a /rest/default/V1/guest-carts/hpKYobQ9va05saJOade06dZP5CPxvGUj/totals-information request.
Usually I fix it by reloading the Apache service in Windows.

dmitrii-fediuk commented 1 year ago

Fixed by: https://github.com/tradefurniturecompany/wp/issues/2#issuecomment-1326956641 https://github.com/tradefurniturecompany/wp/issues/3#issuecomment-1326956485