Class rray<string,string> does not exist #2031
-
Hey @dunglas , As you can see in the attached picture I am having trouble generating the page. The problem occurs when I want to generate an endpoint to a class named 'PromoMember' via ApiResource Here is my code for this situation If I use the CreateATLPromoMemberInput class shown in the picture in the same way in another class that generates endpoints via ApiResource then this problem does not occur. I even tried adding just the GET method in itemOperations in the PromoMember class but it still gives an error. I have a feeling that ApiPlatform is not able to work with the PromoMember class name? The whole mechanism works correctly but the only quite serious problem is the inability to generate a page on the local environment. Is it the PromoMember class name that is somehow not supported and is a proprietary name, or is the problem elsewhere? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
Using Symfony ≥ 5.2 solves this issue. |
Beta Was this translation helpful? Give feedback.
Using Symfony ≥ 5.2 solves this issue.