I am using FOSUserBundle with Symfony2. I am trying to use the email registration confirmation feature. When I hit / confirm / {confirmToken}, the Doctrine url throws the following exception
Notice: Undefined index: 000000006553367d000000005133f603 in /Users/jacobspizziri/Documents/Projects/SRC3/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php line 2873
This happens when it tries to hash the Group object that I built here:
spl_object_hash($entity)
and $ entity is as follows:

Here are the relationships that I have established in my entities:
class Group implements SoftDeletableInterface, TimestampableInterface {
protected $users;
}
class User extends BaseUser implements SoftDeletableInterface, TimestampableInterface
{
protected $group;
}
My package extends FOSUserBundle, however I do not extend FOSUserBundle \ Entity \ Group for my group
What's going on here?
Jacob source
share