Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_users` AS `t` LEFT JOIN `wp_podsrel` AS `rel_user_fish` ON `rel_user_fish`.`field_id` = 5485 AND `rel_user_fish`.`item_id` = `t`.`ID` LEFT JOIN `wp_pods_poissons` AS `user_fish` ON `user_fish`.`id` = `rel_user_fish`.`related_item_id` WHERE ( ( `user_fish`.`ID` = ) AND ( `t`.`user_status` = 0 ) ) ORDER BY `t`.`display_name`, `t`.`ID` LIMIT 0, 12; Response: 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`.`user_status` = 0 ) ) ' at line 14