You cannot serialize or unserialize PDO instances #209. You cannot serialize or unserialize PDO instances #209. VGhost2000 opened this issue Dec 13, 2013 2 comments Comments. Copy link Quote reply vGhost2000 commented Dec 13, 2013. How to use objects which can't be serialized? Members fund testing for the Drupal project. Comment #1 thomas.frobieter.
This repository has been archived by the owner. It is now read-only.
Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upComments
commented Dec 13, 2013
How to use objects which can't be serialized? $ php testbug.php Fatal error: Uncaught exception 'PDOException' with message 'You cannot serialize or unserialize PDO instances' in /home/vghost/123/testbug.php:8 Stack trace: 0 /home/vghost/123/testbug.php(8): PDO->__sleep() 1 /home/vghost/123/testbug.php(15): testbug->__construct() 2 {main} thrown in /home/vghost/123/testbug.php on line 8 $ php -v PHP 5.5.6 (cli) (built: Dec 12 2013 15:29:29) $ uname -a Linux vghost 3.2.0-56-generic #86-Ubuntu SMP Wed Oct 23 09:20:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux |
commented Dec 13, 2013
See this: |
commented Dec 13, 2013
Big thanks! Please create an example file to prevent creation similar issues. |
closed this Dec 13, 2013
Closed
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.