Notice: Undefined offset: 0 in /var/www/nt12/catalog/model/catalog/product.php on line 769Notice: Undefined offset: 0 in /var/www/nt12/catalog/model/catalog/product.php on line 771Notice: Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND p.status = '1' AND p.date_available <= '2018-07-19 00:15:00' ORDER BY p.pric' at line 1
Error No: 1064
(SELECT * FROM product p LEFT JOIN product_to_category ptc ON (ptc.product_id = p.product_id) WHERE p.price < 0 AND ptc.category_id = AND p.status = '1' AND p.date_available <= '2018-07-19 00:15:00' ORDER BY p.price DESC LIMIT 3) UNION (SELECT * FROM product p LEFT JOIN product_to_category ptc ON (ptc.product_id = p.product_id) WHERE p.price > 0 AND ptc.category_id = AND p.status = '1' AND p.date_available <= '2018-07-19 00:15:00' ORDER BY p.price ASC LIMIT 3) in /var/www/nt12/system/database/mysqliz.php on line 53