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 = '15' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND cp.path_id = '13987' 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 = 'd67ed6f7d3dea1d4e16550747c', `data` = '{\"language\":\"fr-fr\",\"langmark_multi\":{\"name\":\"Fran\\u00e7ais\",\"store_id\":\"0\"},\"langmark_multi_num\":13,\"currency\":\"EUR\",\"currency_old\":{\"fr-fr\":{\"switch\":true,\"currency\":\"EUR\",\"language\":\"fr-fr\"}}}', expire = '2024-11-22 19:32:20' 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('d67ed6f7d3dea1d...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /home/sparepartsmobile/public_html/system/library/db/mysqli.php on line 40