Both WPML and WooCommerce plugins are up to date. How to fix this?
Query Caller Component Error Message Error Code
SELECT COUNT(*)
FROM wp_comments
LEFT JOIN wp_posts AS wp_posts_to_exclude_reviews
ON comment_post_ID = wp_posts_to_exclude_reviews.IDLEFT
WHERE ( comment_approved = '1' )
AND comment_type NOT IN ('note')
AND comment_type != 'order_note'
AND comment_type != 'webhook_delivery'
AND comment_type != 'action_log'
AND wp_posts_to_exclude_reviews.post_type NOT IN ('product')
AND icltr2.language_code = 'fi'
AND (icltr_comment.language_code IS NULL
OR icltr_comment.language_code = icltr2.language_code )
WP_Comment_Query->get_comment_ids()
Plugin: woocommerce Unknown column 'icltr2.language_code' in 'where clause' 1054
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+01:00)
The issue is not related to missing database columns then. The language_code column exists correctly in all required WPML tables.
The error possibly occurs because a query generated during WooCommerce comment retrieval references icltr2.language_code, but the corresponding WPML table alias is not JOINed in the query.
Would you be willing to provide me with WordPress and FTP credentials so I could investigate the issue directly?
And let me know where exactly does it show, what do I need to click/which URL to visit?