In StefanDoorn\SyliusGtmEnhancedEcommercePlugin\TagManager\ViewItem::addViewItemData$this->productVariantResolver->getVariant($product) (line 65) can return null (if no variants are enabled)
which will make the calculate fail, because the parameter is null.
In
StefanDoorn\SyliusGtmEnhancedEcommercePlugin\TagManager\ViewItem::addViewItemData
$this->productVariantResolver->getVariant($product)
(line 65) can return null (if no variants are enabled) which will make thecalculate
fail, because the parameter isnull
.