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 '-30' at line 12(No Description) sql: SELECT p.*, o.price + o.amountsaved as originalprice FROM products p, productoffers o WHERE = o.product_id AND p.parent_id = 0 AND p.enabled = 1 AND p.hidden = 0 AND o.percentagesaved > 0 AND o.price > 200 AND IN (SELECT FROM productoffers x WHERE x.product_id = HAVING MIN(x.price)) AND 1 = 1 ORDER BY p.salesrank DESC LIMIT 30, -30
Fatal error: Call to a member function getFullArray() on a non-object in /homepages/41/d451511745/htdocs/OK/controllers/specialoffers.php on line 84