WordPress database error: [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 ') and t.visibility_model=1 ORDER BY t.title ASC' at line 1]
SELECT Distinct t.*,tt.filename FROM wp_prb_gallery AS t,wp_prb_pictures AS tt where t.previewpic=tt.pid and tt.exclude=0 and t.gid IN() and t.visibility_model=1 ORDER BY t.title ASC

all models >>
Website Security Test