'Select b.*, t.nom as type, p.nom as produitNom from boitier b join type t on b.idType=t.idType left join boitier_trim bt on b.idBoitier=bt.idBoitier left join trim tr on bt.idTrim=tr.idTrim and tr.idStatus<>:STATUS_INACTIVE1 left join produit p on p.idProduit=tr.idProduit join entry e on b.nom=e.idTranslation where lower(e.text)=lower(:nomBoitier) and b.idStatus<> :STATUS_INACTIVE2 LIMIT 1'

ERROR : [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 SEO.objectType='boitier'' at line 2

Query : Select SEO.*, og.title as OG_title from SEO join openGraph og on SEO.idObject=og.idObject and SEO.objectType=og.objectType where SEO.idObject= and SEO.objectType='boitier'

Contraste - CA2675 -