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 order_bus desc limit 0, 100' at line 3

select b.id, b.name, b.url, b.slogan, b.description, b.suburb, b.email, b.website, b.image, b.business_location, b.localphone, b.preferredcontact,b.nationalphone, b.order_bus, b.mobilephone, r.review_stars as reviews from business b LEFT OUTER JOIN (select business_id,sum(review_stars) as review_stars from business_reviews) r on r.business_id=b.id where status = 1 AND (device_type LIKE '%samsung%' OR device_model LIKE '%samsung%') AND () order by order_bus desc limit 0, 100

Filename: /home/screenrepaircom/public_html/models/search_model.php

Line Number: 84