Query failed: SELECT DISTINCT thread_id, thread_id FROM pcity_item WHERE thread_id <> id AND thread_id IN ()

Error message:

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