Compte
Erreur de la base de données WordPress : [Not unique table/alias: 'icltr2']SELECT SQL_CALC_FOUND_ROWS hpo2AP_comments.comment_ID
FROM hpo2AP_comments JOIN hpo2AP_icl_translations icltr2
ON icltr2.element_id = hpo2AP_comments.comment_post_ID
JOIN hpo2AP_posts ON hpo2AP_posts.ID = icltr2.element_id
AND CONCAT('post_', hpo2AP_posts.post_type) = icltr2.element_type
LEFT JOIN hpo2AP_icl_translations icltr_comment
ON icltr_comment.element_id = hpo2AP_comments.comment_ID
AND icltr_comment.element_type = 'comment'
JOIN hpo2AP_icl_translations icltr2
ON icltr2.element_id = hpo2AP_comments.comment_post_ID
AND hpo2AP_posts.ID = icltr2.element_id
AND CONCAT('post_', hpo2AP_posts.post_type) = icltr2.element_type
LEFT JOIN hpo2AP_icl_translations icltr_comment
ON icltr_comment.element_id = hpo2AP_comments.comment_ID
AND icltr_comment.element_type = 'comment'
WHERE ( comment_approved = '1' ) AND comment_post_ID = 45472 AND comment_parent = 0 AND icltr2.language_code = 'fr'
AND (icltr_comment.language_code IS NULL
OR icltr_comment.language_code = icltr2.language_code
) AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND hpo2AP_posts.post_type <> 'wc_user_membership' AND icltr2.language_code = 'fr'
AND (icltr_comment.language_code IS NULL
OR icltr_comment.language_code = icltr2.language_code
)
ORDER BY hpo2AP_comments.comment_date_gmt ASC, hpo2AP_comments.comment_ID ASC