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

Promos

Find all best promotions and updated info using the main menu and selecting the category of your choice

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 'ORDER BY m.id > 0 DESC,p.valid_to, pl.vip DESC, RAND(),c.plan_id DESC, p.valid_' at line 34