Closed
Description
Preconditions
- Magento 2.1.9 CE
- PHP 7.0.24
- Apache/2.4.23 CentOS
- Redis enabled
- All Caches enabled
Steps to reproduce
- Updating from 2.1.7 to 2.1.9
- Ran from the CLI– composer require magento/product-community-edition 2.1.9 --no-update
composer update - rm -rf /var/cache/*
rm -rf /var/page_cache/*
rm -rf /var/generation/* - php bin/magento setup:upgrade
- php bin/magento setup:di:compile
- php bin/magento setup:static-content:deploy
- php bin/magento cache:flush and cache/clean
- No errors present in terminal
Expected result
- Magento should update to 2.1.9 as expected
- Should be able to add products to cart
Actual result
- Error in knockout.js when trying to add a product to the mini cart
- Seems to mainly happen in Google Chrome (current version)
- Error in console
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 (knockout.js:2624), <anonymous>:3:55) at ko.computed.disposeWhenNodeIsRemoved (knockout.js:3989) at evaluateImmediate (knockout.js:1737) at Object.ko.computed.ko.dependentObservable (knockout.js:1946) at init (knockout.js:3988) 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)
- Error won’t clear out, even when clearing var/cache/, var/view_preprocessed/, pub/static/* and running static-content:deploy again.
- Even tried running setup:upgrade and setup:di:compile again but nothing cleared out the error from the browser
- Also tried redeploying production mode – magento deploy:mode:set production