unserialize(): Error at offset code example
Example: unserialize(): Error at offset
If you are saving token in database with serialize,
and while fetching it, on unserialize, you get this error,
Change the Type (of column where you are saving this token)
to TEXT in database.