diff -u b/src/Entity/PriceList.php b/src/Entity/PriceList.php --- b/src/Entity/PriceList.php +++ b/src/Entity/PriceList.php @@ -215,6 +215,8 @@ */ public static function postDelete(EntityStorageInterface $storage, array $entities) { // Delete the price list item of a deleted price list. + $price_list_items = []; + foreach ($entities as $entity) { if (empty($entity->field_price_list_item)) { continue;