Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to Sylius\Bundle\CoreBundle\Templating\Helper\VariantResolverHelper::resolveVariant() must implement interface Sylius\Component\Product\Model\ProductInterface, array given, called in /var/www/app/var/cache/prod/twig/cb/cbf4dcec149448d5f702cfa82f26d53654e226103fa64c596d02e99bf7570095.php on line 32 in /var/www/app/vendor/sylius/sylius/src/Sylius/Bundle/CoreBundle/Templating/Helper/VariantResolverHelper.php:41
Stack trace:
#0 /var/www/app/var/cache/prod/twig/cb/cbf4dcec149448d5f702cfa82f26d53654e226103fa64c596d02e99bf7570095.php(32): Sylius\Bundle\CoreBundle\Templating\Helper\VariantResolverHelper->resolveVariant(Array)
#1 /var/www/app/vendor/twig/twig/lib/Twig/Template.php(389): __TwigTemplate_a032168ef25edbea0ea874238102d664e8e57aec7b0620cfabda5e4aa7a10246->doDisplay(Array, Array)
#2 /var/www/app/vendor/twig/twig/lib/Twig/Template.php(366): Twig_Template->displayWithErrorHandling(Array, Array)
#3 /var/www/app/var/cac in /var/www/app/vendor/sylius/sylius/src/Sylius/Bundle/CoreBundle/Templating/Helper/VariantResolverHelper.php on line 41