after upgrading to Magento 2.1.8, I start getting this:
Uncaught ReferenceError: Unable to process binding "if: function (){return getCartParam('summary_count') }"
Message: Unable to process binding "if: function (){return maxItemsToDisplay < getCartLineItemsCount() }"
Message: maxItemsToDisplay is not defined
at if (eval at createBindingsStringEvaluator (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:2624), <anonymous>:3:55)
at ko.computed.disposeWhenNodeIsRemoved (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:3989)
at evaluateImmediate (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:1737)
at Object.ko.computed.ko.dependentObservable (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:1946)
at init (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:3988)
at /pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:2989
at Object.ignore (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:1249)
at /pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:2988
at Object.arrayForEach (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:151)
at applyBindingsToNodeInternal (/pub/static/frontend/grand/grand1/en_US/knockoutjs/knockout.js:2974)
please help
Did you try to do this already:
php bin/magento deploy:mode:set production
php bin/magento setup:static-content:deploy