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

Undefined property: JsonDeserializationVisitor::$navigator sence version 3.23 #1509

Open
SergeC opened this issue Aug 16, 2023 · 2 comments
Open

Comments

@SergeC
Copy link

SergeC commented Aug 16, 2023

Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no

Since version 3.23 I'm getting warning that crashes all my API's: Warning: Undefined property: JMS\Serializer\JsonDeserializationVisitor::$navigator

Expected Result

  • Should work without error like 3.22

Actual Result

  • Error
@scyzoryck
Copy link
Collaborator

Hi!
I guess it is caused by the memory leaks fixes. Could you provide any example of the code that is failing, with the full error log stack, please? Without it providing any help will be difficult.

Best scyzoryck

@rproskuriakov
Copy link

Faced the same one in SubscribingHandlerInterface. Indeed related to memory leak fixes as I was able to fix that error by commenting out unset \JMS\Serializer\JsonDeserializationVisitor::getResult.
For temporary solution inside subscription handler the temporary fix is:
$context->getVisitor()->setNavigator($context->getNavigator());

Please note that my issue was about deserialization

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