Skip to content

Minicart Issue with upgrade 2.1.7-2.1.9 #11375

Closed
@pioneerathletics

Description

@pioneerathletics

Preconditions

  1. Magento 2.1.9 CE
  2. PHP 7.0.24
  3. Apache/2.4.23 CentOS
  4. Redis enabled
  5. All Caches enabled

Steps to reproduce

  1. Updating from 2.1.7 to 2.1.9
  2. Ran from the CLI– composer require magento/product-community-edition 2.1.9 --no-update
    composer update
  3. rm -rf /var/cache/*
    rm -rf /var/page_cache/*
    rm -rf /var/generation/*
  4. php bin/magento setup:upgrade
  5. php bin/magento setup:di:compile
  6. php bin/magento setup:static-content:deploy
  7. php bin/magento cache:flush and cache/clean
  8. No errors present in terminal

Expected result

  1. Magento should update to 2.1.9 as expected
  2. Should be able to add products to cart

Actual result

  1. Error in knockout.js when trying to add a product to the mini cart
  2. Seems to mainly happen in Google Chrome (current version)
  3. 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)
  4. Error won’t clear out, even when clearing var/cache/, var/view_preprocessed/, pub/static/* and running static-content:deploy again.
  5. Even tried running setup:upgrade and setup:di:compile again but nothing cleared out the error from the browser
  6. Also tried redeploying production mode – magento deploy:mode:set production
    screen shot 2017-10-07 at 9 57 39 am copy
    screen shot 2017-10-09 at 1 45 52 pm

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions