Magento 2.2.2 issue mini cart not working












0















Centos 7 (se linux disabled)
nginx php 7.0.27
Luma theme
Magento 2.2.2



A very strange issue. Minicart not working I found a lot of posts but no one corrects my issue.
try setup:di / deploy static content fr_FR us_US



I see the mini cart updated when I add product. But when I click on this just blue button no text and button doesn't work.
In chrome developer mode I have this error:



Uncaught ReferenceError: 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: closeMinicart is not defined
at click (eval at createBindingsStringEvaluator (knockout.js:2624), <anonymous>:4:87)
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)
at applyBindingsToNodeAndDescendantsInternal (knockout.js:2854)


I tried a test to switch interfaces to English US and it's working fine... No particular plugin.



Any idea ?










share|improve this question
















bumped to the homepage by Community 1 min ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    0















    Centos 7 (se linux disabled)
    nginx php 7.0.27
    Luma theme
    Magento 2.2.2



    A very strange issue. Minicart not working I found a lot of posts but no one corrects my issue.
    try setup:di / deploy static content fr_FR us_US



    I see the mini cart updated when I add product. But when I click on this just blue button no text and button doesn't work.
    In chrome developer mode I have this error:



    Uncaught ReferenceError: 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: closeMinicart is not defined
    at click (eval at createBindingsStringEvaluator (knockout.js:2624), <anonymous>:4:87)
    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)
    at applyBindingsToNodeAndDescendantsInternal (knockout.js:2854)


    I tried a test to switch interfaces to English US and it's working fine... No particular plugin.



    Any idea ?










    share|improve this question
















    bumped to the homepage by Community 1 min ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      0












      0








      0








      Centos 7 (se linux disabled)
      nginx php 7.0.27
      Luma theme
      Magento 2.2.2



      A very strange issue. Minicart not working I found a lot of posts but no one corrects my issue.
      try setup:di / deploy static content fr_FR us_US



      I see the mini cart updated when I add product. But when I click on this just blue button no text and button doesn't work.
      In chrome developer mode I have this error:



      Uncaught ReferenceError: 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: closeMinicart is not defined
      at click (eval at createBindingsStringEvaluator (knockout.js:2624), <anonymous>:4:87)
      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)
      at applyBindingsToNodeAndDescendantsInternal (knockout.js:2854)


      I tried a test to switch interfaces to English US and it's working fine... No particular plugin.



      Any idea ?










      share|improve this question
















      Centos 7 (se linux disabled)
      nginx php 7.0.27
      Luma theme
      Magento 2.2.2



      A very strange issue. Minicart not working I found a lot of posts but no one corrects my issue.
      try setup:di / deploy static content fr_FR us_US



      I see the mini cart updated when I add product. But when I click on this just blue button no text and button doesn't work.
      In chrome developer mode I have this error:



      Uncaught ReferenceError: 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: closeMinicart is not defined
      at click (eval at createBindingsStringEvaluator (knockout.js:2624), <anonymous>:4:87)
      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)
      at applyBindingsToNodeAndDescendantsInternal (knockout.js:2854)


      I tried a test to switch interfaces to English US and it's working fine... No particular plugin.



      Any idea ?







      magento2.2 mini-cart






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 16 '18 at 8:14









      Jai

      3,50182961




      3,50182961










      asked Feb 15 '18 at 14:49









      Ludovik DopieralaLudovik Dopierala

      11




      11





      bumped to the homepage by Community 1 min ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 1 min ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          are you using a custom theme and if so do you have a magento_checkout folder in there?



          touching the minicart in magento is risky as it breaks quite easy. if you have not overwritten the checkout in your theme, replace the files in vendor/magento/module-checkout with the ones from the original installation.



          If you have it in your theme folder too then you should undo any changes you have made.



          make sure you check the logs and reports in var/log and var/report too to see if they can give you any extra infromation.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f213668%2fmagento-2-2-2-issue-mini-cart-not-working%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            are you using a custom theme and if so do you have a magento_checkout folder in there?



            touching the minicart in magento is risky as it breaks quite easy. if you have not overwritten the checkout in your theme, replace the files in vendor/magento/module-checkout with the ones from the original installation.



            If you have it in your theme folder too then you should undo any changes you have made.



            make sure you check the logs and reports in var/log and var/report too to see if they can give you any extra infromation.






            share|improve this answer




























              0














              are you using a custom theme and if so do you have a magento_checkout folder in there?



              touching the minicart in magento is risky as it breaks quite easy. if you have not overwritten the checkout in your theme, replace the files in vendor/magento/module-checkout with the ones from the original installation.



              If you have it in your theme folder too then you should undo any changes you have made.



              make sure you check the logs and reports in var/log and var/report too to see if they can give you any extra infromation.






              share|improve this answer


























                0












                0








                0







                are you using a custom theme and if so do you have a magento_checkout folder in there?



                touching the minicart in magento is risky as it breaks quite easy. if you have not overwritten the checkout in your theme, replace the files in vendor/magento/module-checkout with the ones from the original installation.



                If you have it in your theme folder too then you should undo any changes you have made.



                make sure you check the logs and reports in var/log and var/report too to see if they can give you any extra infromation.






                share|improve this answer













                are you using a custom theme and if so do you have a magento_checkout folder in there?



                touching the minicart in magento is risky as it breaks quite easy. if you have not overwritten the checkout in your theme, replace the files in vendor/magento/module-checkout with the ones from the original installation.



                If you have it in your theme folder too then you should undo any changes you have made.



                make sure you check the logs and reports in var/log and var/report too to see if they can give you any extra infromation.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 15 '18 at 14:58









                devdev

                388




                388






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f213668%2fmagento-2-2-2-issue-mini-cart-not-working%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Polycentropodidae

                    Magento 2 Error message: Invalid state change requested

                    Paulmy