Error when there is no default rates

Created on 6 February 2024, 5 months ago
Updated 3 April 2024, 3 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.69.0 2024