Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Return value of Sylius\Component\Core\Model\Channel::getLocales() must implement interface Doctrine\Common\Collections\Collection, null returned in /home/virtualki/170060/vendor/sylius/sylius/src/Sylius/Component/Core/Model/Channel.php:193 Stack trace: #0 /home/virtualki/170060/vendor/sylius/sylius/src/Sylius/Component/Core/Provider/ChannelBasedLocaleProvider.php(54): Sylius\Component\Core\Model\Channel->getLocales() #1 /home/virtualki/170060/vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Context/RequestBasedLocaleContext.php(58): Sylius\Component\Core\Provider\ChannelBasedLocaleProvider->getAvailableLocalesCodes() #2 /home/virtualki/170060/vendor/sylius/sylius/src/Sylius/Component/Locale/Context/CompositeLocaleContext.php(48): Sylius\Bundle\LocaleBundle\Context\RequestBasedLocaleContext->getLocaleCode() #3 /home/virtualki/170060/vendor/sylius/sylius/src/Sylius/Bundle/LocaleBundle/Listener/RequestLocaleSetter.php(54): Sylius\Comp in /home/virtualki/170060/vendor/sylius/sylius/src/Sylius/Component/Core/Model/Channel.php on line 193