Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `bddicwp_posts` AS `t`
LEFT JOIN `bddicwp_podsrel` AS `rel_realisateur_associe` ON
`rel_realisateur_associe`.`field_id` = 9
AND `rel_realisateur_associe`.`item_id` = `t`.`ID`
LEFT JOIN `bddicwp_posts` AS `realisateur_associe` ON
`realisateur_associe`.`ID` = `rel_realisateur_associe`.`related_item_id`
LEFT JOIN `bddicwp_postmeta` AS `film_actif` ON
`film_actif`.`meta_key` = 'film_actif'
AND `film_actif`.`post_id` = `t`.`ID`
WHERE ( ( `realisateur_associe`.`ID` = && `film_actif`.`meta_value` = "0" ) AND ( `t`.`post_type` = "film" ) AND ( `t`.`post_status` IN ( "publish" ) ) )
ORDER BY t.menu_order ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; Response: 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 '&& `film_actif`.`meta_value` = "0" ) AND ( `t`.`post_type` = "film" ) AND ( `t`.' at line 19