После обновления до Symfony 4.2 с 4.1.8 я получаю следующую ошибку:
22:00:39 CRITICAL [php] Argument 3 passed to Sonata\Twig\Extension\TemplateExtension::__construct() must be an instance of Sonata\CoreBundle\Model\Adapter\AdapterInterface, instance of Sonata\Doctrine\Adapter\AdapterChain given, called in /home/kostya/projects/php/www/hillel/sf_store/var/cache/dev/ContainerOrMv7ZL/srcApp_KernelDevDebugContainer.php on line 1265 ["exception" => Symfony\Component\Debug\Exception\FatalThrowableError { …}]
!!
!! In TemplateExtension.php line 40:
!!
!! Argument 3 passed to Sonata\Twig\Extension\TemplateExtension::__construct()
!! must be an instance of Sonata\CoreBundle\Model\Adapter\AdapterInterface, i
!! nstance of Sonata\Doctrine\Adapter\AdapterChain given, called in /home/kost
!! ya/projects/php/www/hillel/sf_store/var/cache/dev/ContainerOrMv7ZL/srcApp_K
!! ernelDevDebugContainer.php on line 1265
У кого-нибудь есть идеи, как это исправить?