« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - 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 'pdf) AND sc.published=1 AND sc.deleted=0 ) AND (sc.privateweb=0) LIMIT ' at line 3 »
      SQL: SELECT DISTINCT sc.* FROM `habitat25`.modx_site_content sc LEFT JOIN `habitat25`.modx_document_groups dg on dg.document = sc.id WHERE (sc.id IN (2006.pdf) AND sc.published=1 AND sc.deleted=0 ) AND (sc.privateweb=0) LIMIT 1
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0004 s s(0 Requests)
  PHP: 0.0274 s s 
  Total: 0.0278 s s