JMSSerializerBundle
JMSSerializerBundle copied to clipboard
You have requested a non-existent service "jms_serializer.handler_registry".
| Q | A |
|---|---|
| Bug report? | yes/no |
| Feature request? | yes/no |
| BC Break report? | yes/no |
| RFC? | yes/no |
Steps required to reproduce the problem
- I have used "jms/serializer-bundle": "^4.0", in my composer.json file
- PHP version = 8.1.0, symfony version = 4.4
- when i try to create database using the below command
- doctrine:database:create --env=dev --if-not-exists
Expected Result
- Successfully created
Actual Result
- You have requested a non-existent service "jms_serializer.handler_registry".
did you clear the cache ?
Same problem here and yes cleared the cache.
I have this issue and have cleared the cache and its still around has anyone managed to solve it?
Seems to be fixable by upgrading friendsofsymfony/rest-bundle to ^3.1.0, assuming you're using the REST Bundle.
Ref: https://github.com/schmittjoh/JMSSerializerBundle/issues/877#issuecomment-955196303