Unable to execute INSERT statement [INSERT INTO `CarrelloTestata` (`IDCARRELLO`, `FKUTENTE`, `DATACREAZIONE`) VALUES (:p0, :p1, :p2)] [wrapped: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'RK5b7bc5743ee58' for key 'PRIMARY']

#0 /var/www/magento/app/code/local/Rikorda/Core/Helper/Data.php(354): Redarea_Utility_JsonRpcClient->sendRequest('Cart.getCart', Array)
#1 /var/www/magento/app/code/local/Rikorda/Core/Block/Redareawidget/Cartheader.php(160): Rikorda_Core_Helper_Data->getCart(NULL, NULL, 0, false, false, true)
#2 /var/www/magento/app/code/local/Rikorda/Core/Block/Redareawidget/Cartheader.php(108): Rikorda_Core_Block_Redareawidget_Cartheader->_getRealCartItems()
#3 /var/www/magento/app/design/frontend/rikorda/default/template/checkout/cart/cartheader.phtml(11): Rikorda_Core_Block_Redareawidget_Cartheader->getSummaryCount()
#4 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/magent...')
#5 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/rikord...')
#6 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#7 /var/www/magento/app/code/local/Rikorda/Core/Block/Redareawidget/Cartheader.php(154): Mage_Core_Block_Template->_toHtml()
#8 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(919): Rikorda_Core_Block_Redareawidget_Cartheader->_toHtml()
#9 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#10 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('topCart', true)
#11 /var/www/magento/app/design/frontend/rikorda/photonegozi/template/page/html/header.phtml(66): Mage_Core_Block_Abstract->getChildHtml('topCart')
#12 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/magent...')
#13 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/rikord...')
#14 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#15 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#16 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#17 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('header', true)
#18 /var/www/magento/app/design/frontend/rikorda/default/template/page/1column.phtml(16): Mage_Core_Block_Abstract->getChildHtml('header')
#19 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(241): include('/var/www/magent...')
#20 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/rikord...')
#21 /var/www/magento/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#22 /var/www/magento/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#23 /var/www/magento/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#24 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#25 /var/www/magento/app/code/core/Mage/Catalog/controllers/CategoryController.php(161): Mage_Core_Controller_Varien_Action->renderLayout()
#26 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Catalog_CategoryController->viewAction()
#27 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('view')
#28 /var/www/magento/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#29 /var/www/magento/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#30 /var/www/magento/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#31 /var/www/magento/index.php(187): Mage::run('photorec', 'store')
#32 {main}