Erreur de la base de données WordPress : [Unknown column 'wpml_translations.language_code' in 'where clause']
SELECT lbn_posts.* FROM lbn_posts WHERE 1=1 AND lbn_posts.post_name = 'adherer-au-cercle' AND lbn_posts.post_type = 'attachment' AND ( ( ( wpml_translations.language_code = 'fr' OR ( wpml_translations.language_code = 'fr' AND lbn_posts.post_type IN ( 'et_header_layout','et_body_layout','et_footer_layout' ) AND ( ( ( SELECT COUNT(element_id) FROM lbn_icl_translations WHERE trid = wpml_translations.trid AND language_code = 'fr' ) = 0 ) OR ( ( SELECT COUNT(element_id) FROM lbn_icl_translations t2 JOIN lbn_posts p ON p.id = t2.element_id WHERE t2.trid = wpml_translations.trid AND t2.language_code = 'fr' AND ( p.post_status = 'publish' OR p.post_type='attachment' AND p.post_status = 'inherit' ) ) = 0 ) ) ) ) AND lbn_posts.post_type IN ('page','attachment','wp_block','et_pb_layout','project','cookielawinfo','et_header_layout','et_body_layout','et_footer_layout' ) ) OR lbn_posts.post_type NOT IN ('page','attachment','wp_block','et_pb_layout','project','cookielawinfo','et_header_layout','et_body_layout','et_footer_layout' ) ) ORDER BY lbn_posts.post_date DESC