Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT value_id, option_id, total FROM (SELECT p.manufacturer_id AS value_id, 'm' AS option_id, COUNT(p.manufacturer_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 = '70' AND p.product_id IN(SELECT oov2p1.product_id FROM oc_ocfilter_option_value_to_product oov2p1 WHERE oov2p1.option_id = '11' AND (oov2p1.value_id = '46' OR oov2p1.value_id = '72' OR oov2p1.value_id = '94' OR oov2p1.value_id = '96' OR oov2p1.value_id = '246' OR oov2p1.value_id = '252' OR oov2p1.value_id = '260' OR oov2p1.value_id = '354' OR oov2p1.value_id = '362' OR oov2p1.value_id = '364' OR oov2p1.value_id = '367' OR oov2p1.value_id = '374')) GROUP BY p.manufacturer_id UNION ALL SELECT p.stock_status_id AS value_id, 's' AS option_id, COUNT(p.stock_status_id) AS total FROM oc_product p LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) WHERE p.statu in /var/www/lady/data/www/ladysize.ru/system/library/db/mysqli.php on line 58