Replies: 1 comment
-
Is the |
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
{{title}}
{{editor}}'s edit
{{editor}}'s edit
-
Hi, I have 3 entities, order, products and supplement, order is in ManyToMany with products, products is in ManyToMany with supplement and I want to be able to add as many as needed product in an order form so i created a collection of product
And then to be able to add as many as needed supplement for each product i created a formtype for the collection
I created successfully order with the logic I want like explained before but when I want to update an order I have this error that I can't solve, I tried to debug the functions that are triggered in vendor to see what's the problem but it's not clear to me so if someone already got this problem I would love a bit of help / explanation
Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader::getIdValue(): Argument #1 ($object) must be of type ?object, string given, called in /var/www/Caisse/vendor/symfony/form/ChoiceList/Loader/AbstractChoiceLoader.php on line 49
Beta Was this translation helpful? Give feedback.
All reactions