This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

You cannot serialize or unserialize PDO instances

Notes and reports about symfony 1.0.x stable

You cannot serialize or unserialize PDO instances

by balunadig » Wed Dec 08, 2010 7:48 pm

On our current site, I am getting "You cannot serialize or unserialize PDO instances" and 500 error on the web page. Appreciate any and all help .

Regards

Balu

[PDOException]
You cannot serialize or unserialize PDO instances

stack trace
at ()
in SF_SYMFONY_LIB_DIR/view/sfPHPView.class.php line 261 ...
'view_name' => $this->viewName,

'response' => $context->getResponse(),

);

$response->setParameter($key, serialize($cache), 'symfony/cache');


if (sfConfig::get('sf_web_debug'))

{
at PDO->__sleep()
in n/a line n/a ...
at serialize(array('content' => ' http://www.nyc-arts.org/ Artist Residency-related event listings from NYC-ARTS.org 2010-12-08T12:26:01Z webadmin@allianceforarts.org (Alliance for the Arts Editorial Staff) en ', array(object('sfRss201Feed')), 'view_name' => 'Success', object('sfWebResponse')))
in SF_SYMFONY_LIB_DIR/view/sfPHPView.class.php line 261 ...
at sfPHPView->render()
in SF_SYMFONY_LIB_DIR/filter/sfExecutionFilter.class.php line 182 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfFlashFilter.class.php line 50 ...
at sfFlashFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfCommonFilter.class.php line 29 ...
at sfCommonFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfCacheFilter.class.php line 63 ...
at sfCacheFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/aftaCmsPreviewLinksManglerFilter.class.php line 9 ...
at aftaCmsPreviewLinksManglerFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfWebDebugFilter.class.php line 35 ...
at sfWebDebugFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfRenderingFilter.class.php line 33 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/controller/sfController.class.php line 276 ...
at sfController->forward('feeds', 'events')
in SF_SYMFONY_LIB_DIR/controller/sfFrontWebController.class.php line 48 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/web/fo_dev.php line 11 ...
symfony settings ...
request ...
response ...
global vars ...
symfony v.1.0.16 - php 5.2.5
for help resolving this issue, please visit http://www.symfony-project.org/.
balunadig
Junior Member
 
Posts: 8
Joined: Mon Aug 10, 2009 8:35 pm

Re: You cannot serialize or unserialize PDO instances

by balunadig » Mon Dec 20, 2010 11:04 pm

Anyone ?
balunadig
Junior Member
 
Posts: 8
Joined: Mon Aug 10, 2009 8:35 pm

Re: You cannot serialize or unserialize PDO instances

by gegeav » Fri Jun 24, 2011 5:33 pm

I have the same problem with symfony 1.4.
Any help would be highly apreciated.
gegeav
Junior Member
 
Posts: 3
Joined: Tue Jun 29, 2010 3:37 pm
Location: Bucharest