Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '46-642-1' for key 'PRIMARY' in /home/compaco/classes/db/DbPDO.php:149
Stack trace:
#0 /home/compaco/classes/db/DbPDO.php(149): PDO->query()
#1 /home/compaco/classes/db/Db.php(377): DbPDOCore->_query()
#2 /home/compaco/classes/db/Db.php(744): DbCore->query()
#3 /home/compaco/classes/db/Db.php(477): DbCore->q()
#4 /home/compaco/classes/Page.php(142): DbCore->insert()
#5 /home/compaco/modules/statsdata/statsdata.php(121): PageCore::setPageViewed()
#6 /home/compaco/modules/statsdata/statsdata.php(74): statsdata->getScriptCustomerPagesViews()
#7 /home/compaco/classes/Hook.php(1043): statsdata->hookDisplayBeforeBodyClosingTag()
#8 /home/compaco/classes/Hook.php(418): HookCore::coreCallHook()
#9 /home/compaco/classes/Hook.php(981): HookCore::callHookOn()
#10 /home/compaco/config/smarty.config.inc.php(198): HookCore::exec()
#11 /home/compaco/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#12 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/20/7e/71/207e714d8a030d973b99fea71a7127d45ee50f24_2.file.layout-both-columns.tpl.php(552): SmartyLazyRegister->__call()
#13 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_132364886666edf4039a46b6_41747091->callBlock()
#14 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#15 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#16 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/20/7e/71/207e714d8a030d973b99fea71a7127d45ee50f24_2.file.layout-both-columns.tpl.php(157): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#17 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf4039a8922_62013317()
#18 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#19 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#20 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#21 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#22 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/3c/37/f5/3c37f536eda9651d69a5bc434bb7ca5c96001769_2.file.layout-left-column.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild()
#23 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf4039960d6_45610033()
#24 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#25 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#26 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#27 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#28 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/61/29/b4/6129b4ccb23fae9fe64d180d5780823bbd5fc9ea_2.file.product-list.tpl.php(43): Smarty_Internal_Runtime_Inheritance->endChild()
#29 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf403991cc0_46166601()
#30 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#31 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#32 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#33 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#34 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/42/b7/b4/42b7b4b4a74423a24cef29e0d29cd365654f5ee0_2.file.category.tpl.php(108): Smarty_Internal_Runtime_Inheritance->endChild()
#35 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf403981451_98683371()
#36 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#37 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#38 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#39 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#40 /home/compaco/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#41 /home/compaco/classes/controller/FrontController.php(753): SmartyDev->fetch()
#42 /home/compaco/classes/controller/FrontController.php(735): FrontControllerCore->smartyOutputContent()
#43 /home/compaco/classes/controller/Controller.php(339): FrontControllerCore->display()
#44 /home/compaco/classes/Dispatcher.php(510): ControllerCore->run()
#45 /home/compaco/index.php(28): DispatcherCore->dispatch()
#46 {main}
Next PrestaShopException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '46-642-1' for key 'PRIMARY' in /home/compaco/classes/db/DbPDO.php:151
Stack trace:
#0 /home/compaco/classes/db/Db.php(377): DbPDOCore->_query()
#1 /home/compaco/classes/db/Db.php(744): DbCore->query()
#2 /home/compaco/classes/db/Db.php(477): DbCore->q()
#3 /home/compaco/classes/Page.php(142): DbCore->insert()
#4 /home/compaco/modules/statsdata/statsdata.php(121): PageCore::setPageViewed()
#5 /home/compaco/modules/statsdata/statsdata.php(74): statsdata->getScriptCustomerPagesViews()
#6 /home/compaco/classes/Hook.php(1043): statsdata->hookDisplayBeforeBodyClosingTag()
#7 /home/compaco/classes/Hook.php(418): HookCore::coreCallHook()
#8 /home/compaco/classes/Hook.php(981): HookCore::callHookOn()
#9 /home/compaco/config/smarty.config.inc.php(198): HookCore::exec()
#10 /home/compaco/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#11 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/20/7e/71/207e714d8a030d973b99fea71a7127d45ee50f24_2.file.layout-both-columns.tpl.php(552): SmartyLazyRegister->__call()
#12 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_132364886666edf4039a46b6_41747091->callBlock()
#13 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#14 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#15 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/20/7e/71/207e714d8a030d973b99fea71a7127d45ee50f24_2.file.layout-both-columns.tpl.php(157): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#16 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf4039a8922_62013317()
#17 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#18 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#19 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#20 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#21 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/3c/37/f5/3c37f536eda9651d69a5bc434bb7ca5c96001769_2.file.layout-left-column.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild()
#22 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf4039960d6_45610033()
#23 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#24 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#25 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#26 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#27 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/61/29/b4/6129b4ccb23fae9fe64d180d5780823bbd5fc9ea_2.file.product-list.tpl.php(43): Smarty_Internal_Runtime_Inheritance->endChild()
#28 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf403991cc0_46166601()
#29 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#30 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#31 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#32 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#33 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/42/b7/b4/42b7b4b4a74423a24cef29e0d29cd365654f5ee0_2.file.category.tpl.php(108): Smarty_Internal_Runtime_Inheritance->endChild()
#34 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf403981451_98683371()
#35 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#36 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#37 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#38 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#39 /home/compaco/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#40 /home/compaco/classes/controller/FrontController.php(753): SmartyDev->fetch()
#41 /home/compaco/classes/controller/FrontController.php(735): FrontControllerCore->smartyOutputContent()
#42 /home/compaco/classes/controller/Controller.php(339): FrontControllerCore->display()
#43 /home/compaco/classes/Dispatcher.php(510): ControllerCore->run()
#44 /home/compaco/index.php(28): DispatcherCore->dispatch()
#45 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '46-642-1' for key 'PRIMARY' in /home/compaco/classes/Hook.php:431
Stack trace:
#0 /home/compaco/classes/Hook.php(981): HookCore::callHookOn()
#1 /home/compaco/config/smarty.config.inc.php(198): HookCore::exec()
#2 /home/compaco/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#3 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/20/7e/71/207e714d8a030d973b99fea71a7127d45ee50f24_2.file.layout-both-columns.tpl.php(552): SmartyLazyRegister->__call()
#4 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_132364886666edf4039a46b6_41747091->callBlock()
#5 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock()
#6 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process()
#7 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/20/7e/71/207e714d8a030d973b99fea71a7127d45ee50f24_2.file.layout-both-columns.tpl.php(157): Smarty_Internal_Runtime_Inheritance->instanceBlock()
#8 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf4039a8922_62013317()
#9 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#10 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#11 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#12 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#13 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/3c/37/f5/3c37f536eda9651d69a5bc434bb7ca5c96001769_2.file.layout-left-column.tpl.php(38): Smarty_Internal_Runtime_Inheritance->endChild()
#14 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf4039960d6_45610033()
#15 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#16 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#17 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#18 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#19 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/61/29/b4/6129b4ccb23fae9fe64d180d5780823bbd5fc9ea_2.file.product-list.tpl.php(43): Smarty_Internal_Runtime_Inheritance->endChild()
#20 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf403991cc0_46166601()
#21 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#22 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#23 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#24 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(116): Smarty_Internal_Template->_subTemplateRender()
#25 /home/compaco/var/cache/dev/smarty/compile/warehouselayouts_layout_left_column_tpl/42/b7/b4/42b7b4b4a74423a24cef29e0d29cd365654f5ee0_2.file.category.tpl.php(108): Smarty_Internal_Runtime_Inheritance->endChild()
#26 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66edf403981451_98683371()
#27 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#28 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#29 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#30 /home/compaco/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#31 /home/compaco/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch()
#32 /home/compaco/classes/controller/FrontController.php(753): SmartyDev->fetch()
#33 /home/compaco/classes/controller/FrontController.php(735): FrontControllerCore->smartyOutputContent()
#34 /home/compaco/classes/controller/Controller.php(339): FrontControllerCore->display()
#35 /home/compaco/classes/Dispatcher.php(510): ControllerCore->run()
#36 /home/compaco/index.php(28): DispatcherCore->dispatch()
#37 {main}
thrown in /home/compaco/classes/Hook.php on line 431