Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /homepages/8/d225244265/htdocs/supermercadopc.es/library/mysql.php on line 29
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 '-20' at line 12(No Description) sql: SELECT p.*, o.price + o.amountsaved as originalprice FROM products p, productoffers o
WHERE p.id = o.product_id
AND p.parent_id = 0
AND p.enabled = 1
AND p.hidden = 0
AND offers > 0
AND o.percentagesaved > 0
AND o.price > 200
AND o.id IN (SELECT x.id FROM productoffers x WHERE x.product_id = p.id HAVING MIN(x.price))
AND 1 = 1
ORDER BY p.salesrank DESC
LIMIT 20, -20
Fatal error: Call to a member function getFullArray() on boolean in /homepages/8/d225244265/htdocs/supermercadopc.es/controllers/specialoffers.php on line 84