Skip to content

Error during checkout with Magento_Salesrule #25

@sydekumf

Description

@sydekumf

Preconditions

During checkout I get the following error:
PHP Fatal error: Uncaught Error: Call to a member function setDiscounts() on array in vendor/magento/module-sales-rule/Model/Quote/Discount.php:122

Magento Version : Commerce 2.3.5-p1
ElasticSuite for Retailer Version : 2.0.0

Environment : Default

Third party modules : No, Magento Vanilla installation

Steps to reproduce

  1. Create a retailer in the backend
  2. Create a retailer offer in the backend
  3. Add product to cart and proceed to checkout
  4. Select retailer in checkout => Error in log file

Expected result

  1. Checkout should be possible without errors

Actual result

  1. Error in log file
    PHP Fatal error: Uncaught Error: Call to a member function setDiscounts() on array in vendor/magento/module-sales-rule/Model/Quote/Discount.php:122

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions