Hi, some times some models does not have the property added to the criteria used in findOneBy.
For example I am using HWIOAuthBundle and only the model User has the property facebookId which is the property added to the criteria to find the user. When the property not exsite in a Model, for example Admin, Doctrine throw a exception.
Sorry for reformatting of empty spaces.
Hi, some times some models does not have the property added to the criteria used in
findOneBy
. For example I am usingHWIOAuthBundle
and only the modelUser
has the propertyfacebookId
which is the property added to the criteria to find the user. When the property not exsite in a Model, for exampleAdmin
, Doctrine throw a exception. Sorry for reformatting of empty spaces.