«Unable to process binding "html: function (){return getCartParam('subtotal') }" Message: getCartParam is not defined»


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: