Fatal error: Uncaught exception 'ErrorException' with message 'Error: Unknown column 'p2cg.p2cg_product_id' in 'where clause'<br />Error No: 1054<br />SELECT COUNT(DISTINCT 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_product_master pm ON pm.product_id = p.product_id WHERE (pm.master_product_id = -1 OR pm.master_product_id > 0 OR pm.master_product_id IS NULL) AND pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p.manufacturer_id = '19' AND p2cg.p2cg_product_id IS NULL OR p2cg.p2cg_customer_group_id = '1'' in /home/abarocom/public_html/system/database/mysqli.php:41
Stack trace:
#0 /home/abarocom/public_html/vqmod/vqcache/vq2-system_library_db.php(20): DBMySQLi->query('SELECT COUNT(DI...')
#1 /home/abarocom/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php(764): DB->query('SELECT COUNT(DI...')
#2 /home/abarocom/pu in /home/abarocom/public_html/system/database/mysqli.php on line 41