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

SELECT source.id as sourceid,target.* from huntershalo_datatypes_portfolio as source INNER JOIN file as target ON source.mainImage = target.id WHERE source.id IN ()

Filename: /home/algerand/public_html/hb.webrade.com/corecms/main/engine/Search.php

Line Number: 404