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 p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '21' in /home/brille/web/brille.ua/public_html/data/system/library/db/mysqli.php:40
Stack trace:
#0 /home/brille/web/brille.ua/public_html/data/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(DI...')
#1 /home/brille/web/brille.ua/public_html/storage/modification/catalog/model/catalog/product.php(980): DB->query('SELECT COUNT(DI...')
#2 /home/brille/web/brille.ua/public_html/storage/modification/system/engine/loader.php(248): ModelCatalogProduct->getTotalProducts(Array)
#3 /home/brille/web/brille.ua/public_html/data/system/engine/proxy.php(47): Loader->{closur in /home/brille/web/brille.ua/public_html/data/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 = '44d4ffd34fdc3b3a2b8a813c43', `data` = '{\"language\":\"uk-ua\",\"langmark_multi\":{\"name\":\"UK\",\"store_id\":\"0\"},\"langmark_multi_num\":1,\"currency_old\":{\"uk-ua\":{\"switch\":true,\"currency\":\"UAH\",\"language\":\"uk-ua\"}},\"currency\":\"UAH\"}', expire = '2024-05-03 12:10:26' in /home/brille/web/brille.ua/public_html/data/system/library/db/mysqli.php:40
Stack trace:
#0 /home/brille/web/brille.ua/public_html/data/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...')
#1 /home/brille/web/brille.ua/public_html/data/system/library/session/db.php(32): DB->query('REPLACE INTO `o...')
#2 /home/brille/web/brille.ua/public_html/data/system/library/session.php(81): Session\DB->write('44d4ffd34fdc3b3...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /home/brille/web/brille.ua/public_html/data/system/library/db/mysqli.php on line 40