TypeError thrown

unserialize(): Argument #1 ($data) must be of type string, array given