Reputation: 25
I have cloned a Symfony project on my computer and when I launch it I have this error :
ServiceNotFoundException in CheckExceptionOnInvalidReferenceBehaviorPass.php line 58:
The service "serializer" has a dependency on a non-existent service "fos_rest.serializer.exception_wrapper_normalizer".
I just find the relation between these two services in FOS/RestBundle :
<service id="fos_rest.serializer.exception_wrapper_normalizer" class="FOS\RestBundle\Serializer\ExceptionWrapperNormalizer">
<argument type="service" id="translator" />
<tag name="serializer.normalizer" />
</service>
The serializer is activated too in Symfony (in config.yml) :
serializer:
enabled: true
How I can find more informations ? How I can resolve this problem ?
Upvotes: 0
Views: 2441