Warning: mysqli::query(): MySQL server has gone away in /var/www/www-root/data/www/storage/modification/system/library/db/mysqli.php on line 21Warning: mysqli::query(): Error reading result set's header in /var/www/www-root/data/www/storage/modification/system/library/db/mysqli.php on line 21
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT IF(p.quantity > '0', 'in', 'out') AS value_id, 's' AS option_id, COUNT(DISTINCT p.product_id) AS total FROM oc_product p LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) LEFT JOIN oc_category_path cp ON (p2c.category_id = cp.category_id) WHERE p.status = '1' AND cp.path_id = '4563' GROUP BY value_id in /var/www/www-root/data/www/storage/modification/system/library/db/mysqli.php:43 Stack trace: #0 /var/www/www-root/data/www/storage/modification/system/library/db.php(72): DB\MySQLi->query('SELECT IF(p.qua...') #1 /var/www/www-root/data/www/24city.by/catalog/model/extension/module/ocfilter.php(598): DB->query('SELECT IF(p.qua...') #2 /var/www/www-root/data/www/storage/modification/system/engine/loader.php(257): ModelExtensionModuleOCFilter->getCounters(Array) #3 /var/www/www-root/data/www/24city.by/system/engine/proxy.php(47): Loader->{closure}(Array, Array) #4 /var/www/www-root/data/www/24city.by/system/ in /var/www/www-root/data/www/storage/modification/system/library/db/mysqli.php on line 43

Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_setting WHERE `code` = 'timezone' in /var/www/www-root/data/www/storage/modification/system/library/db/mysqli.php:43 Stack trace: #0 /var/www/www-root/data/www/storage/modification/system/library/db.php(49): DB\MySQLi->query('SELECT * FROM o...') #1 /var/www/www-root/data/www/24city.by/system/library/session/db.php(32): DB->query('REPLACE INTO `o...') #2 /var/www/www-root/data/www/storage/modification/system/library/session.php(83): Session\DB->write('9c02da18f2641ba...', Array) #3 [internal function]: Session->close() #4 {main} thrown in /var/www/www-root/data/www/storage/modification/system/library/db/mysqli.php on line 43