Shape-and-Shift/shopware-variant-switch

6.4.12 compablity

ChristopherDosin opened this issue · 0 comments

On Shopware 6.4.12 there seems to be a compatibility issue:

request.CRITICAL: Uncaught PHP Exception TypeError: "SasVariantSwitch\Storefront\Page\ProductListingConfigurationLoader::isCombinable(): Argument #3 ($combinations) must be of type Shopware\Core\Content\Product\SalesChannel\Detail\AvailableCombinationResult, null given, called in /www/htdocs/w007fddd/[shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php](http://shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php) on line 72" at /www/htdocs/w007fddd/[shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php](http://shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php) line 280 {"exception":"[object] (TypeError(code: 0): SasVariantSwitch\\Storefront\\Page\\ProductListingConfigurationLoader::isCombinable(): Argument #3 ($combinations) must be of type Shopware\\Core\\Content\\Product\\SalesChannel\\Detail\\AvailableCombinationResult, null given, called in /www/htdocs/w007fddd/[shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php](http://shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php) on line 72 at /www/htdocs/w007fddd/[shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php:280](http://shop.easy-to-run.de/custom/plugins/SasVariantSwitch/src/Storefront/Page/ProductListingConfigurationLoader.php:280))"} []