Fatal error: Uncaught Exception: Error: Table 'vektor_penza_new.oc_product_to_warehouse_test' doesn't exist<br />Error No: 1146<br />SELECT p.*,pd.*,p.product_id as product_id, pd.name AS name,pd.description AS description, p.image, m.name AS manufacturer,
(SELECT price FROM oc_product_discount pd2 WHERE pd2.product_id = p.product_id AND pd2.customer_group_id = '1' AND pd2.quantity = '1' AND ((CAST(pd2.date_start AS CHAR(20)) = '0000-00-00' OR pd2.date_start < NOW()) AND (CAST(pd2.date_end AS CHAR(20)) = '0000-00-00' OR pd2.date_end > NOW())) ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1) AS discount,
(SELECT price FROM `oc_product_to_warehouse_test` WHERE warehouse_id = '4' AND oc_product_to_warehouse_test.localcode = p.localcode LIMIT 1) AS price,
(SELECT id_agent FROM `oc_product_to_warehouse_test` WHERE warehouse_id = '4' AND oc_product_to_warehouse_test.localcode = p.localcode LIMIT 1) AS id_agent,
(SELECT quantity FROM `oc_product_to_warehouse_test` WHERE warehouse_id = '4' AND oc_product_to_wareh in /var/www/www-root/data/www/vektor-penza.ru/system/library/db/mysqli.php on line 85