« 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 'ORDER BY menuindex, value' at line 1 »
      SQL: SELECT newgoniec_site_content.id, pagetitle, value FROM newgoniec_site_content, newgoniec_site_tmplvar_contentvalues WHERE newgoniec_site_tmplvar_contentvalues.contentid = newgoniec_site_content.id AND tmplvarid = 5 AND parent = ORDER BY menuindex, value
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0045 s(4 Requests)
  PHP: 0.0413 s 
  Total: 0.0458 s