Error when there is no default rates

Created on 6 February 2024, 10 months ago
Updated 3 April 2024, 8 months ago

Problem/Motivation

I got this error in the checkout :

TypeError : Drupal\commerce_dpd_fr\Plugin\Field\FieldWidget\PickupPointWidgetBase::getDefaultRate(): Return value must be of type Drupal\commerce_shipping\ShippingRate, bool returned

Steps to reproduce

In my case, I have the error when I add a product variation which type is not default.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France solene_ggd

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024