Errore sul database di WordPress: [Unknown column 'wpml_translations.language_code' in 'where clause']
SELECT SQL_CALC_FOUND_ROWS vry_posts.ID
FROM vry_posts LEFT JOIN vry_term_relationships ON (vry_posts.ID = vry_term_relationships.object_id) LEFT JOIN vry_term_relationships AS tt1 ON (vry_posts.ID = tt1.object_id)
WHERE 1=1 AND (
vry_term_relationships.term_taxonomy_id IN (390)
AND
vry_posts.ID NOT IN (
SELECT object_id
FROM vry_term_relationships
WHERE term_taxonomy_id IN (87)
)
AND
tt1.term_taxonomy_id IN (390)
) AND ((vry_posts.post_type = 'product' AND (vry_posts.post_status = 'publish'))) AND ( ( ( wpml_translations.language_code = 'it' OR 0 ) AND vry_posts.post_type IN ('post','page','attachment','wp_block','profile','project','product','product_variation','shop_order_refund','wpcf7_contact_form','mc4wp-form' ) ) OR vry_posts.post_type NOT IN ('post','page','attachment','wp_block','profile','project','product','product_variation','shop_order_refund','wpcf7_contact_form','mc4wp-form' ) )
GROUP BY vry_posts.ID
ORDER BY vry_posts.menu_order ASC, vry_posts.post_title ASC
LIMIT 0, 12