Warning: mysqli::query(): MySQL server has gone away in /sites/petsopt/system/library/db/mysqli.php on line 18Warning: mysqli::query(): Error reading result set's header in /sites/petsopt/system/library/db/mysqli.php on line 18
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT COUNT(DISTINCT IF(hpl.parent_id IS NOT NULL AND h2s.store_id IS NOT NULL AND hph.pid IS NOT NULL, hpl.parent_id, p.product_id)) 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) LEFT JOIN oc_hpmodel_product_hidden hph ON (p.product_id = hph.pid) LEFT JOIN oc_hpmodel_links hpl ON (p.product_id = hpl.product_id) LEFT JOIN oc_hpmodel_to_store h2s ON (hpl.type_id = h2s.type_id AND h2s.store_id = '0') WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.manufacturer_id = '421' in /sites/petsopt/system/library/db/mysqli.php:40 Stack trace: #0 /sites/petsopt/system/library/db.php(16): DB\MySQLi->query('SELECT COUNT(DI...', Array) #1 /sites/petsopt/system/storage/modification/catalog/model/catalog/product.php(674): DB->query('SELECT COUNT(DI...') #2 /sites/petsopt/sys in /sites/petsopt/system/library/db/mysqli.php on line 40