How to fix:
Locate the line:
Replace it with the new one:
return !$this->shippingRate ? null : $this->priceCurrency->convertAndFormat($this->shippingRate->getPrice());
Locate the line:
Replace it with the new one:
return !$this->shippingRate ? null : $this->priceCurrency->convertAndFormat($this->shippingRate->getPrice());