Skip to content

How to signal an stdClass containing other stdClass? #10346

Discussion options

You must be logged in to vote

Unfortunately I can't because the code is too complex to reproduce.

But I managed to resolve it marking the temporary variable as stdClass. I was accessing the properties from the main object, but if I retrieve a property and put it in a temporary variable, marking it as stdClass, the error goes away.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Digitalone1
Comment options

Answer selected by Digitalone1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants