-
-
Notifications
You must be signed in to change notification settings - Fork 586
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
Accessing static property as non static #1156
Comments
Looks like the serializer stumbled upon some huge backtrace of an exception and could not cope with it, so probably it's not an issue. |
xepozz
added a commit
to xepozz/serializer
that referenced
this issue
Jul 3, 2020
xepozz
added a commit
to xepozz/serializer
that referenced
this issue
Jul 3, 2020
Closed
xepozz
added a commit
to xepozz/serializer
that referenced
this issue
Jul 6, 2020
xepozz
added a commit
to xepozz/serializer
that referenced
this issue
Jul 6, 2020
solved in #1237 |
@goetas can you please release this functionality and update |
@goetas ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use the serializer v3.4.0 with Symfony 5 and just ran into the issue:
Notice: Accessing static property Symfony\Component\Cache\Adapter\PhpArrayAdapter::$valuesCache as non static
ErrorException in /vendor/jms/serializer/src/Accessor/DefaultAccessorStrategy.php (line 86)
Stack trace:
/vendor/jms/serializer/src/Accessor/DefaultAccessorStrategy.php :: JMS\Serializer\Accessor{closure} (line 91)
/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php -> getValue (line 234)
/vendor/jms/serializer/src/JsonSerializationVisitor.php -> accept (line 136)
/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php -> visitProperty (line 241)
/vendor/jms/serializer/src/JsonSerializationVisitor.php -> accept (line 136)
/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php -> visitProperty (line 241)
/vendor/jms/serializer/src/JsonSerializationVisitor.php -> accept (line 136)
/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php -> visitProperty (line 241)
/vendor/jms/serializer/src/JsonSerializationVisitor.php -> accept (line 93)
/vendor/jms/serializer/src/GraphNavigator/SerializationGraphNavigator.php -> visitArray (line 159)
...
The text was updated successfully, but these errors were encountered: