Fatal error: 'Error: MySQL server has gone away
Error No: 2006
UPDATE oc_product SET viewed = (viewed + 1) WHERE product_id = '152461'
'
in /home/teacom/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/teacom/ocartdata0/storage/modification/system/library/db.php(59): DB\MySQLi->query('UPDATE oc_produ...')
#1 /home/teacom/ocartdata0/storage/modification/catalog/model/catalog/product.php(4): DB->query('UPDATE oc_produ...')
#2 /home/teacom/ocartdata0/storage/modification/system/engine/loader.php(306): ModelCatalogProduct->updateViewed('152461')
#3 system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home/teacom/ocartdata0/storage/modification/catalog/controller/product/product.php(598): Proxy->__call('updateViewed', Array)
#5 /home/teacom/ocartdata0/storage/modification/system/engine/action.php(79): ControllerProductProduct->index()
#6 catalog/controller/startup/router.php(25): Action->execute(Object(Registry))
#7 /home/teacom/ocartdata0/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index()
#8 /home/teacom/ocartdata0/storage/modification/system/engine/router.php(71): Action->execute(Object(Registry))
#9 /home/teacom/ocartdata0/storage/modification/system/engine/router.php(60): Router->execute(Object(Action))
#10 system/framework.php(165): Router->dispatch(Object(Action), Object(Action))
#11 system/startup.php(104): require_once('/home/teacom/pu...')
#12 index.php(19): start('catalog')
#13 {main}