Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 1 passed to AppBundle\Twig\SearchFormExtension::__construct() must implement interface Symfony\Component\DependencyInjection\ContainerInterface, instance of Symfony\Component\Form\FormFactory given, called in /var/www/rehvid/webroot/app/cache/prod/appProdProjectContainer.php on line 3786 in /var/www/rehvid/webroot/src/AppBundle/Twig/SearchFormExtension.php:35 Stack trace: #0 /var/www/rehvid/webroot/app/cache/prod/appProdProjectContainer.php(3786): AppBundle\Twig\SearchFormExtension->__construct(Object(Symfony\Component\Form\FormFactory), Object(Symfony\Cmf\Component\Routing\ChainRouter), Object(AppBundle\Context\ProductSearchContext), Object(Sylius\Bundle\SettingsBundle\Manager\SettingsManager)) #1 /var/www/rehvid/webroot/app/bootstrap.php.cache(2226): appProdProjectContainer->getApp_Twig_SearchForm_ExtensionService() #2 /var/www/rehvid/webroot/app/cache/prod/appProdProjectContainer.php(20207): Symfony\Component\DependencyInj in /var/www/rehvid/webroot/src/AppBundle/Twig/SearchFormExtension.php on line 35