Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT p.manufacturer_id AS value_id, 'm' AS option_id, COUNT(DISTINCT p.product_id) AS total FROM lg_product p LEFT JOIN lg_product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.status = '1' AND p2c.category_id = '30215' GROUP BY p.manufacturer_id' in /sites/instrument-40.ru/html/system/storage/modification/system/library/db/mysqli.php:52
Stack trace:
#0 /sites/instrument-40.ru/html/system/library/db.php(21): DB\MySQLi->query('SELECT p.manufa...', Array)
#1 /sites/instrument-40.ru/html/catalog/model/catalog/ocfilter.php(603): DB->query('SELECT p.manufa...')
#2 [internal function]: ModelCatalogOCFilter->getCounters(Array)
#3 /sites/instrument-40.ru/html/system/storage/modification/system/engine/loader.php(183): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /sites/instrument-40.ru/html/system/engine/proxy.php(30): call_user_func_array(Object(Closur in /sites/instrument-40.ru/html/system/storage/modification/system/library/db/mysqli.php on line 52