Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br /> SELECT IF(p.quantity > 0, 1, 0) AS availability, COUNT(*) AS total FROM `oc_product` p LEFT JOIN `oc_product_to_category` p2c ON (p2c.product_id = p.product_id) LEFT JOIN `oc_product_description` pd ON (p.product_id = pd.product_id) LEFT JOIN `oc_product_to_store` p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND pd.language_id = '1' AND p2c.category_id = '1277' GROUP BY CASE WHEN p.quantity > 0 THEN 1 ELSE 0 END ' in /home/yerimego/public_html/system/storage/modification/system/library/db/mysqli.php:47 Stack trace: #0 /home/yerimego/public_html/system/storage/modification/system/library/db.php(29): DB\MySQLi->query('\n\t\t\tSELECT \n\t\t\t...', Array) #1 /home/yerimego/public_html/system/library/journal3/opencart/model.php(38): DB->query('\n\t\t\tSELECT \n\t\t\t in /home/yerimego/public_html/system/storage/modification/system/library/db/mysqli.php on line 47