cancel
Showing results for 
Search instead for 
Did you mean: 

Minicart JS error Magento2 2.2.0

Minicart JS error Magento2 2.2.0

Hi I just installed Magento2 2.2.0,

 

PHP 7.0

2GB PHP Memory

Apache 2.4

Production mode

 

I am having issue with the minicart it does not display the button correctly and cannot press it.

 

Console give this error.

Uncaught TypeError: Unable to process binding "if: function (){return getCartParam('summary_count') }"
Message: Unable to process binding "if: function (){return getCartParam('possible_onepage_checkout') }"
Message: Unable to process binding "click: function (){return closeMinicart() }"
Message: $(...).find(...).dropdownDialog is not a function
at UiClass.closeMinicart (minicart.js:116)
at click (eval at createBindingsStringEvaluator (knockout.js:2624), <anonymous>:4:94)
at newValueAccessor (knockout.js:3839)
at init (knockout.js:3849)
at init (knockout.js:3842)
at knockout.js:2989
at Object.ignore (knockout.js:1249)
at knockout.js:2988
at Object.arrayForEach (knockout.js:151)
at applyBindingsToNodeInternal (knockout.js:2974)

 

Any help would be great. Kind regards

Tags (1)
5 REPLIES

Re: Minicart JS error Magento2 2.2.0

@Seouli, Did you run command,

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy
php bin/magento cache:flush

Please clear browser cache and did you migrate your old to new version?

 

Thanks.

If Issue Solved, Click Kudos/Accept As solutions.

Re: Minicart JS error Magento2 2.2.0

Thank you for your rely.

 

This is fresh install and I have run the below commands many times but nothing will make the mini cart work

 

minicart.png.

 

Uncaught TypeError: Unable to process binding "if: function (){return getCartParam('possible_onepage_checkout') }"
Message: Unable to process binding "click: function (){return closeMinicart() }"
Message: $(...).find(...).dropdownDialog is not a function
at UiClass.closeMinicart (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/Magento_Checkout/js/view/minicart.js:116)
at click (eval at createBindingsStringEvaluator (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:2624), <anonymous>:4:94)
at newValueAccessor (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:3839)
at init (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:3849)
at init (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:3842)
at pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:2989
at Object.ignore (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:1249)
at pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:2988
at Object.arrayForEach (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:151)
at applyBindingsToNodeInternal (pub/static/version1507153367/frontend/MyWebsite/Primary/en_GB/knockoutjs/knockout.js:2974)

Re: Minicart JS error Magento2 2.2.0

@Seouli,

Based on your error, you need to run below command with GB translation in your deployment,

 

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy en_US en_GB
php bin/magento cache:flush

Remove browser cache.

 

if issue solved, Click kudos/Accept as solutions. 

If Issue Solved, Click Kudos/Accept As solutions.

Re: Minicart JS error Magento2 2.2.0

Have met with the same issue.

 

Did not fix it after run the above commands.

 

 

Re: Minicart JS error Magento2 2.2.0

TypeError: $(...).find(...).dropdownDialog is not a function
[Learn More]
minicart.js:116:13

 

Same Issue still no proper solution.