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 p 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 ( pd.tag LIKE '%UGREEN%' AND pd.tag LIKE '%DP103-10223%') 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/public_html/system/engine/proxy.php(25): 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 = '977d5889849c6ad8d751dea79b', `data` = '{\"language\":\"en-gb\",\"currency\":\"USD\"}', expire = '2024-11-23 10:41:18' 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('977d5889849c6ad...', 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