« 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 'OR idModxFr= ORDER BY RAND() LIMIT 1' at line 1 »
      SQL: SELECT idProduit FROM arturia_produit_produits WHERE idModxEn= OR idModxFr= ORDER BY RAND() LIMIT 1
      [Copy SQL to ClipBoard]
 
Parser timing
  MySQL: 0.0048 s(29 Requests)
  PHP: 0.0316 s 
  Total: 0.0363 s