FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle
321 stars 140 forks source link

Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken::serialize() must return a string or NULL #119

Closed Raulken closed 12 years ago

Raulken commented 12 years ago

this in user bundle give to me this error

User.php public function serialize() { return serialize(array($this->facebookId, parent::serialize())); }

public function unserialize($data)
{
    list($this->facebookId, $parentData) = unserialize($data);
    parent::unserialize($parentData);
}

how i can fix?

casoetan commented 12 years ago

hey, have you fixed it / how did you fix it pls.