<![CDATA[robo47.net Feed]]> http://www.robo47.net Mon, 20 Nov 2017 09:39:16 +0000 robo47@robo47.net (Benjamin Steininger) robo47@robo47.net Zend_Feed de-de http://blogs.law.harvard.edu/tech/rss <![CDATA[Kommentar von Christian zu RuntimeException: PHP Fatal error: 'You cannot serialize or unserialize PDOStatement instaces' in -:31 - PHPUnit - Process Isolation and Doctrine/PDO]]> http://www.robo47.net/blog/207-RuntimeException-PHP-Fatal-error-You-cannot-serialize-or-unserialize-PDOStatement-instaces-in-31-PHPUnit-Process-Isolation-and-Doctrine-PDO#comment-5596 http://www.robo47.net/blog/207-RuntimeException-PHP-Fatal-error-You-cannot-serialize-or-unserialize-PDOStatement-instaces-in-31-PHPUnit-Process-Isolation-and-Doctrine-PDO#comment-5596 As far as I remember this happens because PDO Statements have a link to an Exception object which contains a full backtrace with relations to probably all executed so far.

If you're in control of the classes serialized overloading __serialize() and __unserialize() and removing the exception shall work.

]]>
Mon, 04 Oct 2010 19:37:55 +0000