I am getting an error like

unable to process binding if: function(){return getCartParam('summary_count') }

in magento 2.2.2

I tried below commands

php bin/magento setup:upgrade && php -dmemory_limit=6G bin/magento setup:di:compile && php -dmemory_limit=6G bin/magento setup:static-content:deploy -f && php bin/magento cache:clean && php bin/magento cache:flush

I also remove my overridden template code of minicart.phtml file in my custom theme

Still, I faced this error, anyone has any idea about this error? enter image description here


I just short out this issue, Problem was I override Magento_Theme's default layout xml file

and I also modify to <container name="header-wrapper" label="Page Header" as="header-wrapper" htmlTag="div" htmlClass="header content"> tag that's why minicart was mis behaving

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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