skip Unserializable object for caching history

skip Unserializable object for caching history.
To receive this error(You cannot serialize or unserialize PDO instances)