Description
The getCartParam
function is defined here:
But the minicart/subtotal/totals
template uses just an uiComponent
, not minicart
component:
How to fix
Locate the line:
Replace it with the new one:
<item name="component" xsi:type="string">Magento_Checkout/js/view/minicart</item>
It has been fixed in the core:
https://github.com/magento/magento2/commit/b58846a1a9013a61dd7be8491e4c4d1495df3d77