Skip to content

No identifier/primary key specified for Entity "ZfcUserDoctrineORM\Entity\User" sub class of "ZfcUser\Entity\User". Every Entity must have an identifier/primary key. #114

Description

@TheSearcher

i am using the ZfcUserDoctrineORM for my zend3 installation. i am using php 7.1

this is the error message:

No identifier/primary key specified for Entity "ZfcUserDoctrineORM\Entity\User" sub class of "ZfcUser\Entity\User". Every Entity must  
   have an identifier/primary key.      

This is my composer file:

"require": {
        "php": "^5.6 || ^7.0",
        "zendframework/zend-component-installer": "^1.0 || ^0.7 || ^1.0.0-dev@dev",
        "zendframework/zend-mvc": "^3.0.1",
        "zfcampus/zf-development-mode": "^3.0",
        "doctrine/doctrine-orm-module": "^1.1",
        "zf-commons/zfc-base": "dev-master",
        "zf-commons/zfc-user": "^3.0",
        "zf-commons/zfc-user-doctrine-orm": "2.0.1"
     
    },


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions