A Database Error Occurred

Error Number: 1064

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 id NOT IN (SELECT content_id FROM content_hide WHERE council_id = 7) ORDE' at line 6

SELECT id, title, menu, short_url FROM content WHERE active = 1 AND council_id IN (1, 7) AND parent_id = AND id NOT IN (SELECT content_id FROM content_hide WHERE council_id = 7) ORDER BY council_id, sort, title

Filename: /home/wellbein/public_html/models/m_content.php

Line Number: 108