Skip to content

[ERROR] Only attribute mapping is supported by make:entity, but the <info>App\Entity\User</info> class uses a different format. If you would like this command to generate the properties & getter/setter methods, add your mapping configuration, and then re-run this command with the <info>--regenerate</info> flag.  #1152

Closed
@cmukanisa

Description

@cmukanisa

[ERROR] Only attribute mapping is supported by make:entity, but the App\Entity\User class uses a different
format. If you would like this command to generate the properties & getter/setter methods, add your mapping
configuration, and then re-run this command with the --regenerate flag.

Today, once I updated my project to the latest version of 5.4.* (5.4.10), I can no longer generate the entities nor can I add to those that already exist

image
Screenshot 2022-07-15 at 11-15-57 JASSE 🏩🥼 SAINT JOSEPH DE MADAILA PHARMACIE HEALTHCAROLOGY Votre partenaire numérique Remedde ™

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions