Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT p.stock_status_id 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) WHERE p.status = '1' AND p2c.category_id = '579' GROUP BY p.stock_status_id in /var/www/www-root/data/www/zakazat24.ru/system/storage/modification/system/library/db/mysqli.php:47 Stack trace: #0 /var/www/www-root/data/www/zakazat24.ru/system/library/db.php(16): DB\MySQLi->query('SELECT p.stock_...', Array) #1 /var/www/www-root/data/www/zakazat24.ru/catalog/model/catalog/ocfilter.php(603): DB->query('SELECT p.stock_...') #2 /var/www/www-root/data/www/zakazat24.ru/system/storage/modification/system/engine/loader.php(181): ModelCatalogOCFilter->getCounters(Array) #3 /var/www/www-root/data/www/zakazat24.ru/system/engine/proxy.php(25): Loader->{closure}(Array, Array) #4 /var/www/www-root/data/www/zakazat24.ru/catalog/controller/extension/module/ocfilter.ph in /var/www/www-root/data/www/zakazat24.ru/system/storage/modification/system/library/db/mysqli.php on line 47