mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Property "*" in "*" was already declared, but it must be declared only once #6449
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MyZik on GitHub (Apr 15, 2020).
Hello!
I'm trying to convert the SQL-file to Doctrine Entities. https://raw.githubusercontent.com/php-telegram-bot/core/master/structure.sql
As I know, I should to use command in console:
./vendor/bin/doctrine orm:convert-mapping php src/ --from-database --forceBut I've got an error...
How can I fix it?
Thank you a lot!
@devnix commented on GitHub (Sep 7, 2020):
Suffering a similar bug here
@SenseException commented on GitHub (Sep 7, 2020):
Please evaluate your similar bug with the installed versions and an example of your code that will run into your problem.
@Jean85 commented on GitHub (Jun 25, 2024):
I'm encountering this exact bug while upgrading to ORM 3, from the latest patches in the 2.x series. DBAL was already on 3.
I think the trigger is in this chain:
I'll try to extract it and slim it down to verify my assumption.
@Jean85 commented on GitHub (Jun 25, 2024):
Reproduced in #11523, I should add that this doesn't happen if the relation is coming from a trait instead of an abstract class.