unserialize(): Error at offset 0 of 150 bytes" 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.