I installed FOSHttpCacheBundle and decided to try to remove it afterwards.
composer remove
(my composer.json
does not contain the FOSHttp line anymore)AppKernel.php
config.yml
Yet now, in production mode, I get the following error:
Fatal error: Class 'FOS\HttpCacheBundle\EventListener\CacheControlSubscriber' not found in C:\wamp\www\Symfony\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php on line 145
It stacks up from the bootstrap.php file which I rebuilt using composer install
.
Should I re-install FOSHttpCacheBundle?