Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT p.product_id FROM ck8_product p LEFT JOIN ck8_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.quantity > 0 AND p.date_available <= NOW() AND p2s.store_id = '0' ORDER BY rand() DESC, p.date_added DESC LIMIT 4 in /home/sparepartsmobile/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/sparepartsmobile/public_html/system/library/db.php(45): DB\MySQLi->query('SELECT p.produc...')
#1 /home/sparepartsmobile/basics/modification/catalog/model/catalog/product.php(455): DB->query('SELECT p.produc...')
#2 /home/sparepartsmobile/basics/modification/system/engine/loader.php(248): ModelCatalogProduct->getRandomProducts(4)
#3 /home/sparepartsmobile/public_html/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /home/sparepartsmobile/basics/modification/catalog/controller/product/product.php(854): Proxy->__call('getRandomProduc...', Array)
#5 /home/sparepartsmobile/basics/modif in /home/sparepartsmobile/public_html/system/library/db/mysqli.php on line 40
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `ck8_session` SET session_id = '1c67f6b502f1d4e0522dd88f47', `data` = '{\"language\":\"en-gb\",\"langmark_multi\":{\"name\":\"English\",\"store_id\":\"0\"},\"langmark_multi_num\":0,\"currency\":\"USD\",\"currency_old\":{\"en-gb\":{\"switch\":true,\"currency\":\"USD\",\"language\":\"en-gb\"}}}', expire = '2024-11-22 18:32:26' in /home/sparepartsmobile/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /home/sparepartsmobile/public_html/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `c...')
#1 /home/sparepartsmobile/public_html/system/library/session/db.php(32): DB->query('REPLACE INTO `c...')
#2 /home/sparepartsmobile/public_html/system/library/session.php(81): Session\DB->write('1c67f6b502f1d4e...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /home/sparepartsmobile/public_html/system/library/db/mysqli.php on line 40