diff --git a/Adapter/PlentymarketsAdapter/ResponseParser/Product/Variation/VariationResponseParser.php b/Adapter/PlentymarketsAdapter/ResponseParser/Product/Variation/VariationResponseParser.php index 52025e29f..ca71fc853 100644 --- a/Adapter/PlentymarketsAdapter/ResponseParser/Product/Variation/VariationResponseParser.php +++ b/Adapter/PlentymarketsAdapter/ResponseParser/Product/Variation/VariationResponseParser.php @@ -533,6 +533,10 @@ private function getPropertiesAsAttribute(array $properties): array * @var Attribute $attribute */ foreach ($properties as $property) { + if (!isset($property['relationValues'][0])) { + continue; + } + $attribute = new Attribute(); $attribute->setKey('propertyId' . $property['propertyId']); $attribute->setValue($property['relationValues'][0]['value']); diff --git a/Adapter/ShopwareAdapter/ResponseParser/Payment/PaymentResponseParser.php b/Adapter/ShopwareAdapter/ResponseParser/Payment/PaymentResponseParser.php index 6e40eab47..bae6db6ed 100644 --- a/Adapter/ShopwareAdapter/ResponseParser/Payment/PaymentResponseParser.php +++ b/Adapter/ShopwareAdapter/ResponseParser/Payment/PaymentResponseParser.php @@ -60,8 +60,6 @@ public function parse(array $element): array ); if ($isMappedPaymentIdentity) { - $this->logger->notice('paymentidentity' . $paymentIdentifier->getObjectIdentifier() . ' ist not mapped'); - return []; }