Notice: 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 '-1,1) UNION (SELECT product_id FROM product WHERE status = 1 AND date_available ' at line 1
Error No: 1064
(SELECT product_id FROM product WHERE status = 1 AND date_available <= '2018-07-19' LIMIT 9777,1) UNION (SELECT product_id FROM product WHERE status = 1 AND date_available <= '2018-07-19' LIMIT 6364,1) UNION (SELECT product_id FROM product WHERE status = 1 AND date_available <= '2018-07-19' LIMIT 9667,1) UNION (SELECT product_id FROM product WHERE status = 1 AND date_available <= '2018-07-19' LIMIT 12916,1) UNION (SELECT product_id FROM product WHERE status = 1 AND date_available <= '2018-07-19' LIMIT -1,1) UNION (SELECT product_id FROM product WHERE status = 1 AND date_available <= '2018-07-19' LIMIT 643,1) in /home/tyredp/vmayke.com.ua/www/system/database/mysql.php on line 49