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 after upgrading to 3.7 #802

Closed
fikusz01 opened this issue May 25, 2020 · 5 comments
Closed

Error after upgrading to 3.7 #802

fikusz01 opened this issue May 25, 2020 · 5 comments

Comments

@fikusz01
Copy link

Hey guys!

After upgrading JMSSerializerBundle to v3.7, our system drops this error message:

Uncaught PHP Exception ErrorException: "Notice: Undefined offset: 15" at /application/vendor/jms/serializer/src/Metadata/ClassMetadata.php line 325

Had to revert to previous version to get it work again.

@goetas
Copy link
Collaborator

goetas commented May 25, 2020

Did you clear the cache?

@benjamintoussaint
Copy link

I did not clear the cache, but now I have and this error pops up:

{"code":500,"message":"Notice: Undefined property: JMS\\Serializer\\Metadata\\ClassMetadata::$excludeIf"}

@fikusz01
Copy link
Author

Did you clear the cache?

Yes, I did it in my host system by default with Symfony's composer auto scripts. But after I entered my Docker container and cleared there as well manually it started to work. Interesting, 'cause both systems have the same php version and permissions...

@benjamintoussaint
Copy link

I removed the jms folder from the vendors and run composer install and it works now, sorry for raising a flag for that one, and thanks for your swift reply 👍

@fikusz01
Copy link
Author

Yeah, thanks for the quick response!

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

3 participants