we have an old magento with 1.3 version with php 5.3 (we're working on its magento 2 version), but for now I migrated it from a server to another because we have to keep it online, where the new server has php 5.5 version, after migrating it i had alot of errors (php compatiblity) that i managed to fix, but still this one error that i can't understand,
Warning: PDO::quote() expects parameter 1 to be string, object given in /home/websitename/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php on line 252 Trace: #0 [internal function]: mageCoreErrorHandler(2, 'PDO::quote() ex...', '/home/insignexp...', 252, Array) #1 /home/websitename/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(252): PDO->quote(Object(Varien_Data_Tree_Node)) #2 /home/websitename/public_html/lib/Zend/Db/Adapter/Abstract.php(839): Zend_Db_Adapter_Pdo_Abstract->_quote(Object(Varien_Data_Tree_Node)) #3 /home/websitename/public_html/lib/Zend/Db/Adapter/Abstract.php(864): Zend_Db_Adapter_Abstract->quote(Object(Varien_Data_Tree_Node), NULL) #4 /home/websitename/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(1088): Zend_Db_Adapter_Abstract->quoteInto('entity_id=?', Object(Varien_Data_Tree_Node), NULL, NULL) #5 /home/websitename/public_html/lib/Zend/Db/Select.php(895): Varien_Db_Adapter_Pdo_Mysql->quoteInto('entity_id=?', Object(Varien_Data_Tree_Node), NULL) #6 /home/websitename/public_html/lib/Zend/Db/Select.php(433): Zend_Db_Select->_where('entity_id=?', Object(Varien_Data_Tree_Node), NULL, true) #7 /home/websitename/public_html/lib/Varien/Db/Select.php(55): Zend_Db_Select->where('entity_id=?', Object(Varien_Data_Tree_Node), NULL) #8 /home/websitename/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(865): Varien_Db_Select->where('entity_id=?', Object(Varien_Data_Tree_Node)) #9 /home/websitename/public_html/app/code/core/Mage/Eav/Model/Entity/Abstract.php(816): Mage_Eav_Model_Entity_Abstract->_getLoadRowSelect(Object(Mage_Catalog_Model_Category), Object(Varien_Data_Tree_Node)) #10 /home/websitename/public_html/app/code/core/Mage/Core/Model/Abstract.php(216): Mage_Eav_Model_Entity_Abstract->load(Object(Mage_Catalog_Model_Category), Object(Varien_Data_Tree_Node), NULL) #11 /home/websitename/public_html/app/design/frontend/default/garwebsitename/template/catalog/navigation/vert_nav.phtml(28): Mage_Core_Model_Abstract->load(Object(Varien_Data_Tree_Node)) #12 /home/websitename/public_html/var/ait_rewrite/Mage_Core_Block_Template.php(281): include('/home/insignexp...') #13 /home/websitename/public_html/var/ait_rewrite/Mage_Core_Block_Template.php(179): Mage_Core_Block_Template->fetchView('frontend/defaul...') #14 /home/websitename/public_html/var/ait_rewrite/Mage_Core_Block_Template.php(196): Aitoc_Aitsys_Model_Rewriter_Mage_Core_Block_Template->renderView() #15 /home/websitename/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Aitoc_Aitsys_Model_Rewriter_Mage_Core_Block_Template->_toHtml() #16 /home/websitename/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #17 /home/websitename/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml() #18 /home/websitename/public_html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml() #19 /home/websitename/public_html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('left', true) #20 /home/websitename/public_html/app/design/frontend/default/garwebsitename/template/page/2columns-left.phtml(60): Mage_Core_Block_Abstract->getChildHtml('left') #21 /home/websitename/public_html/var/ait_rewrite/Mage_Core_Block_Template.php(281): include('/home/insignexp...') #22 /home/websitename/public_html/var/ait_rewrite/Mage_Core_Block_Template.php(179): Mage_Core_Block_Template->fetchView('frontend/defaul...') #23 /home/websitename/public_html/var/ait_rewrite/Mage_Core_Block_Template.php(196): Aitoc_Aitsys_Model_Rewriter_Mage_Core_Block_Template->renderView() #24 /home/websitename/public_html/app/code/local/MageWorx/SeoSuite/Block/Page/Html.php(36): Aitoc_Aitsys_Model_Rewriter_Mage_Core_Block_Template->_toHtml() #25 /home/websitename/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): MageWorx_SeoSuite_Block_Page_Html->_toHtml() #26 /home/websitename/public_html/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml() #27 /home/websitename/public_html/app/code/local/ClickTale/Integration/Model/Layout.php(49): Mage_Core_Model_Layout->getOutput() #28 /home/websitename/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(347): ClickTale_Integration_Model_Layout->getOutput() #29 /home/websitename/public_html/app/code/core/Mage/Catalog/controllers/CategoryController.php(115): Mage_Core_Controller_Varien_Action->renderLayout() #30 /home/websitename/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Catalog_CategoryController->viewAction() #31 /home/websitename/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch('view') #32 /home/websitename/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #33 /home/websitename/public_html/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch() #34 /home/websitename/public_html/index.php(72): Mage::run('base', 'website') #35 {main}
Any idea how to fix this please!