Replies: 1 comment
-
|
I've got the same issue. Any help, please? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm building an API with API Platform+Symfony+Doctrine. After upgrading from 3.3 to 4.1 (currently 4.1.18) I've got several errors I cannot get rid of.
ArgumentCountError: Too few arguments to function ApiPlatform\State\ApiResource\Error::__construct(), 0 passed in [path]/vendor/api-platform/openapi/Factory/OpenApiFactory.php on line 927 and at least 3 expected in [path]/vendor/api-platform/state/ApiResource/Error.php on line 108- and that's true, the object is created directly, and passes no argumentsTwo similar errors:
ValueError: "Traversable" is not a valid backing value for enum Symfony\Component\TypeInfo\TypeIdentifier in [path]/vendor/symfony/type-info/Type/BuiltinType.php on line 46and the same aboutArrayAccessI wonder if I am the only one with these problems? I wasted lots of time trying to google and then solve them with chatGPT
This is my composer.json
composer.json
Beta Was this translation helpful? Give feedback.
All reactions