Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM ck8_category_path cp LEFT JOIN ck8_product_to_category p2c ON (cp.category_id = p2c.category_id) LEFT JOIN ck8_product p ON (p2c.product_id = p.product_id) LEFT JOIN ck8_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN ck8_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '19' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '13931' 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 COUNT(DI...')
#1 /home/sparepartsmobile/basics/modification/catalog/model/catalog/product.php(732): DB->query('SELECT COUNT(DI...')
#2 /home/sparepartsmobile/basics/modification/system/engine/loader.php(248): ModelCatalogProduct->getTotalProducts(Array)
#3 /home/sparepartsmobile/public_html/system/e 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 = '37513e7e0a432ca84d0e6d4146', `data` = '{\"language\":\"sv-se\",\"langmark_multi\":{\"name\":\"Svenska\",\"store_id\":\"0\"},\"langmark_multi_num\":17,\"currency\":\"SEK\",\"currency_old\":{\"sv-se\":{\"switch\":true,\"currency\":\"SEK\",\"language\":\"sv-se\"}}}', expire = '2024-11-22 14:37:03' 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('37513e7e0a432ca...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /home/sparepartsmobile/public_html/system/library/db/mysqli.php on line 40