A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY stop_business ASC, menu_order DESC, date_post DESC' at line 6

SELECT n.product_ID FROM product n , product_desc nd WHERE n.product_ID=nd.product_ID AND display=1 AND lang='279' AND brand= ORDER BY stop_business ASC, menu_order DESC, date_post DESC

Filename: modules/product/controllers/Product.php

Line Number: 778