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 'ORDER BY R.Name' at line 10

SELECT R.* ,IFNULL(i18N_Name.Value,R.`Name`) AS `Name` ,IFNULL(i18N_Description.Value,R.`Description`) AS `Description` ,IFNULL(i18N_Logo.Value,R.`Logo`) AS `Logo` FROM Receveurs AS R LEFT JOIN idm_i18n AS i18N_Name ON i18N_Name.ID_idm_languages=50 AND i18N_Name.TableName='Receveurs' AND i18N_Name.FieldName='Name' AND i18N_Name.ID_TableName=R.ID LEFT JOIN idm_i18n AS i18N_Description ON i18N_Description.ID_idm_languages=50 AND i18N_Description.TableName='Receveurs' AND i18N_Description.FieldName='Description' AND i18N_Description.ID_TableName=R.ID LEFT JOIN idm_i18n AS i18N_Logo ON i18N_Logo.ID_idm_languages=50 AND i18N_Logo.TableName='Receveurs' AND i18N_Logo.FieldName='Logo' AND i18N_Logo.ID_TableName=R.ID WHERE R.ID= ORDER BY R.Name

Filename: models/default/ModelReceveurs_.php

Line Number: 172