1064 - 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 '-24, 24' at line 1

Select distinct p.id, p.title from products p, products_to_categories p2c where languages_id = 1 and status = 1 and p.id = p2c.products_id order by p.title LIMIT -24, 24