Seems like there's a bug introduced while this fixing #2928286: Simplify order refresh logic.
Now in commerce_discount.rules.inc we have this method:
/**
* Rules action: Remove discount components on product line items.
*/
function commerce_discount_remove_discount_components_on_products($line_item_wrapper) {
commerce_discount_remove_discount_components($line_item_wrapper->commerce_unit_price, array('product_discount'));
commerce_discount_remove_discount_components($line_item_wrapper->total, array('product_discount'));
}It should probably be $line_item_wrapper->commerce_total as commerce line item entity doesn't usually have "total" property.
You can see error messages related to this issue if you have rules logs enabled.
Comments
Comment #2
TynanFox commentedYup.
#1 worked for me to fix the error.
Comment #4
jsacksick commentedThanks a lot for reporting that!