Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error missing NormalizerInterface in project with JMS Serializer instead of Symfony Serializer #2218

Closed
freezy-sk opened this issue May 20, 2020 · 2 comments

Comments

@freezy-sk
Copy link

Running php bin/console cache:clear in project using JMS Serializer instead of Symfony Serializer throws

Fatal error: Interface 'Symfony\Component\Serializer\Normalizer\NormalizerInterface' not found in /var/www/html/vendor/friendsofsymfony/rest-bundle/Serializer/Normalizer/FormErrorNormalizer.php on line 22
friendsofsymfony/rest-bundle        2.7.4
jms/serializer-bundle               3.5.0
symfony/framework-bundle            v4.4.8
@xabbuh xabbuh added the Bug label Jun 29, 2020
@xabbuh xabbuh added this to the 2.7 milestone Jun 29, 2020
@xabbuh
Copy link
Member

xabbuh commented Jun 29, 2020

Do you still experience this error? If so, can you please create a small example application that allows to reproduce it?

@freezy-sk
Copy link
Author

freezy-sk commented Jun 30, 2020

@xabbuh I tried it right now with fresh install of SF 4.4 with Rest bundle 2.7, 2.8, 3.0, JMS bundle 3.5 and SF 5.0 with Rest bundle 2.7, 2.8, 3.0, JMS bundle 3.5 and it works correctly everywhere. I don't remember in which one of my projects I was experiencing this, so I can't find related config files.
Closing this issue as it's not possible to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants