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

Error: Cannot modify readonly property Symfony\Component\Serializer\Encoder\ChainEncoder::$encoders #12

Open
jbardnz opened this issue Sep 5, 2023 · 1 comment

Comments

@jbardnz
Copy link

jbardnz commented Sep 5, 2023

I'm trying to run this on Vapor using SQS but i'm getting the below error:

Cannot modify readonly property Symfony\Component\Serializer\Encoder\ChainEncoder::$encoders

The error happens when the job is due to run rather than when I first dispatch it.

In my own code I am using the usingUniqueIdentifierProvider feature.

@mpbarlow
Copy link
Owner

Hi. Sorry for the late response, I managed to completely miss the notification.

I'm not sure that this is a problem with the package; that said I have not tested this with Vapor (or even used Vapor) so I am happy to be proven wrong.

Assuming my incredibly delayed reply has not already pushed you elsewhere, are you able to share your code for usingUniqueIdentifierProvider?

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

No branches or pull requests

2 participants