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 ') OR () OR () OR id in (SELECT link_id FROM tags_link WHERE tag_id IN (SELECT id' at line 1
SELECT id, title_original, description_original_nl AS omschrijving, image, tags, playtime, year, partner FROM link WHERE () OR () OR () OR id in (SELECT link_id FROM tags_link WHERE tag_id IN (SELECT id FROM tags WHERE )) ORDER BY title_original ASC, omschrijving ASC, image ASC LIMIT 0,2000