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 INNER JOIN oc_ocfilter_option_value_to_product oov2p2 ON (oov2p1.product_id = oov2p2.product_id) WHERE oov2p1.option_id = '11' AND (oov2p1.value_id = '49' OR oov2p1.value_id = '50' OR oov2p1.value_id = '236' OR oov2p1.value_id = '257' OR oov2p1.value_id = '262' OR oov2p1.value_id = '264' OR oov2p1.value_id = '363' OR oov2p1.value_id = '366' OR oov2p1.value_id = '367' OR oov2p1.value_id = '369') AND oov2p2.option_id = '13' AND (oov2p2.value_id = '151')) 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 in /var/www/lady/data/www/ladysize.ru/system/library/db/mysqli.php on line 58