Call to a member function multiply() on null

Created on 7 February 2024, about 1 year ago
Updated 29 February 2024, about 1 year ago

Problem/Motivation

Noticed several occurrences in the logs due to apparently (if I interpret this error correctly, a NULL order item unit price).
This seems to be caused by this line:

'declared_value' => $order_item->getUnitPrice()->multiply($quantity),

Let's see if the patch fixes the issue.

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇮🇱Israel jsacksick

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024