Notice: Undefined variable: cat_id in /home/tscf/domains/tscf.org.nz/public_html/tscfsys/plugins/pi.tscf.php on line 904

Notice: Undefined variable: cat_id in /home/tscf/domains/tscf.org.nz/public_html/tscfsys/plugins/pi.tscf.php on line 910
MySQL ERROR:

Error Number: 1064

Description: 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 c.status = 'open' AND b.student = 'n' GROUP BY a.member_id ' at line 5

Query: SELECT a.member_id, b.name, b.member_entry_id, b.screen_name, c.title AS member_title, c.url_title AS member_url_title FROM exp_tscf_staff_campuses a LEFT JOIN exp_members b ON a.member_id = b.member_id LEFT JOIN exp_weblog_titles c ON b.member_entry_id = c.entry_id WHERE a.campuses IN () AND c.status = 'open' AND b.student = 'n' GROUP BY a.member_id ORDER BY b.name