I trying to create CRUD panel from FOSUserBundle but i have some troubles. I mean that i created User entity for FOS and made crud panel for this entity. Now when i trying to add new user i have error like below
Neither the property "expiresAt" nor one of the methods "getExpiresAt()", "isExpiresAt()", "hasExpiresAt()", "_get()" or "_call()" exist and have public access in class "Bn\UserBundle\Entity\User".
It's my first project so please understand when i will ask for simple function, some suggestion ? What is wrong ?
Bn\UserBundle\Entity\User
inherits fromFOS\UserBundle\Model\User
. The parent class should have setters/getters forexpiresAt
. So it seems a little strange. Can you post yourUser
entity's code? – Darragh Enright