Skip to content

Error when I try to see order details #2742

Discussion options

You must be logged in to vote

@dpfaffenbauer Hi I found an error

The problem occurs if I have jms/serializer version 3.31.0 installed
With version 3.30.0 the problem does not occur.

I debugged what exactly the problem is

$parsedTypes = [];
$types = $reflectionType->getTypes();
foreach ($types as $type) {
    dump($type); // Type before parsing

    try {
        $parsedType = $this->typeParser->parse($type->getName());
        dump('ok', $parsedType); 
        $parsedTypes[] = $parsedType;
    } catch (\Throwable $e) {
        dump('error');
        dump($e->getTrace());
    }
}
dd('end');

For the moment, I would limit the jms/serializer version in the composer to 3.30.*.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@twin-elements
Comment options

@dpfaffenbauer
Comment options

@twin-elements
Comment options

@dpfaffenbauer
Comment options

Comment options

You must be logged in to vote
2 replies
@dpfaffenbauer
Comment options

@twin-elements
Comment options

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