Fatal error: Uncaught Exception: Error: MySQL server has gone away
Error No: 2006
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 = '14' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '2537' in /var/www/www-root/data/www/sda63.ru/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/www-root/data/www/sda63.ru/system/library/db.php(45): DB\MySQLi->query('SELECT COUNT(DI...') #1 /var/www/www-root/data/www/storage/modification/catalog/model/catalog/product.php(668): DB->query('SELECT COUNT(DI...') #2 /var/www/www-root/data/www/storage/modification/system/engine/loader.php(248): ModelCatalogProduct->getTotalProducts(Array) #3 /var/www/www-root/data/www/sda63.ru/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #4 /var/www/www-root/data/www/storage/modification/catalog/controller/product/category.php(187): Proxy->__call('getTotalProduct...', Array) #5 /var/www/www-root/data/www/storage/modification/system/engine/action.php(79): ControllerProductCategory->index() #6 /var/www/www-root/data/www/sda63.ru/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #7 /var/www/www-root/data/www/storage/modification/system/engine/action.php(79): ControllerStartupRouter->index() #8 /var/www/www-root/data/www/sda63.ru/system/engine/router.php(67): Action->execute(Object(Registry)) #9 /var/www/www-root/data/www/sda63.ru/system/engine/router.php(56): Router->execute(Object(Action)) #10 /var/www/www-root/data/www/sda63.ru/system/framework.php(168): Router->dispatch(Object(Action), Object(Action)) #11 /var/www/www-root/data/www/sda63.ru/system/startup.php(104): require_once('/var/www/www-ro...') #12 /var/www/www-root/data/www/sda63.ru/index.php(22): start('catalog') #13 {main} thrown in /var/www/www-root/data/www/sda63.ru/system/library/db/mysqli.php on line 40 Fatal error: Uncaught Exception: Error: MySQL server has gone away
Error No: 2006
REPLACE INTO `oc_session` SET session_id = 'dd7e9fcdef5941ddf01a5e0562', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\"}', expire = '2024-04-22 14:52:34' in /var/www/www-root/data/www/sda63.ru/system/library/db/mysqli.php:40 Stack trace: #0 /var/www/www-root/data/www/sda63.ru/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...') #1 /var/www/www-root/data/www/sda63.ru/system/library/session/db.php(32): DB->query('REPLACE INTO `o...') #2 /var/www/www-root/data/www/sda63.ru/system/library/session.php(81): Session\DB->write('dd7e9fcdef5941d...', Array) #3 [internal function]: Session->close() #4 {main} thrown in /var/www/www-root/data/www/sda63.ru/system/library/db/mysqli.php on line 40