Shopware 6.6 mit Paypal

Hallo,

ich habe ein SW-Update von Version 6.4 auf 6.6 gemacht. Auch das Paypal-Plugin wurde auf die aktuellste Version gebracht.

Wenn ich das Paypal-Plugin aktiviere, erhalte ich nur auf der Artikeldetailseite folgende Fehlermeldung:

UndefinedMethodError
HTTP 500 Internal Server Error
Attempted to call an undefined method named "getParentId" of class "Shopware\Core\Framework\DataAbstractionLayer\PartialEntity".
Symfony\Component\ErrorHandler\Error\ UndefinedMethodError
in custom/plugins/SwagPayPal/src/Checkout/ExpressCheckout/ExpressCheckoutSubscriber.php (line 174)

            $productIds = [];
            $products = $event->getResult()->getEntities();
            foreach ($products as $product) {
                $productIds[] = $product->getId();
                $productIds[] = $product->getParentId();
            }
            $excluded = $this->excludedProductValidator->findExcludedProducts(\array_filter($productIds), $event->getSalesChannelContext());
            foreach ($products as $product) {

in vendor/symfony/event-dispatcher/Debug/WrappedListener.php -> addExcludedProductsToSearchResult (line 115) 

Ich bin da etwas ratlos, was ich dagegen machen kann.

Das lag am Plugin „Cross Selling automatisch ähnliche Artikel anzeigen“, dass die Fehler verursachte.

Dieses Thema wurde automatisch 30 Tage nach der letzten Antwort geschlossen. Es sind keine neuen Antworten mehr erlaubt.