Warning: Error while sending QUERY packet. PID=7748 in /home/phylosco/public_html/system/library/db/mysqli.php on line 18
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_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 = '5' AND pd.language_id = '2' AND ( pd.tag LIKE '%Cds%') GROUP BY CASE WHEN p.quantity > 0 THEN 1 ELSE 0 END ' in /home/phylosco/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/phylosco/public_html/system/storage/modification/system/library/db.php(29): DB\MySQLi->query('\n\t\t\tSELECT \n\t\t\t...', Array) #1 /home/phylosco/public_html/system/library/journal3/opencart/model.php(38): DB->query('\n\t\t\tSELECT \n\t\t\t...') #2 /home/phylosco/public_html/catalog/model/journal3/filter.php(1131): Journal3\Opencart\Model->db in /home/phylosco/public_html/system/library/db/mysqli.php on line 40