Warning: mysqli::query(): MySQL server has gone away in /var/www/html/thanhlinh.vn/public_html/system/library/db/mysqli.php on line 18Warning: mysqli::query(): Error reading result set's header in /var/www/html/thanhlinh.vn/public_html/system/library/db/mysqli.php on line 18
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT COUNT(DISTINCT p.product_id) AS total FROM oc_product_to_category p2c LEFT JOIN oc_product p ON (p2c.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '1595' in /var/www/html/thanhlinh.vn/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/html/thanhlinh.vn/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT COUNT(DI...', Array)
#1 /var/www/html/thanhlinh.vn/public_html/vqmod/vqcache/vq2-storage_modification_catalog_model_catalog_product.php(520): DB->query('SELECT COUNT(DI...')
#2 /var/www/html/thanhlinh.vn/public_html/vqmod/vqcache/vq2-storage_modification_system_engine_loader.php(188): ModelCatalogProduct->getTotalProducts(Array)
#3 /var/www/html/thanhlinh.vn/p in /var/www/html/thanhlinh.vn/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 `oc_session` SET session_id = '3b803ff43791c260c8ad70adef', `data` = '{\"language\":\"en-gb\",\"currency\":\"USD\"}', expire = '2024-12-12 01:19:37' in /var/www/html/thanhlinh.vn/public_html/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/html/thanhlinh.vn/public_html/system/library/db.php(16): DB\MySQLi->query('REPLACE INTO `o...', Array)
#1 /var/www/html/thanhlinh.vn/public_html/system/library/session/db.php(32): DB->query('REPLACE INTO `o...')
#2 /var/www/html/thanhlinh.vn/public_html/system/library/session.php(49): Session\DB->write('3b803ff43791c26...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /var/www/html/thanhlinh.vn/public_html/system/library/db/mysqli.php on line 40