Menu

WordPress database error: [Unknown column 'wpml_translations.language_code' in 'where clause']
SELECT mv2_posts.* FROM mv2_posts WHERE 1=1 AND mv2_posts.post_name = 'about-us' AND mv2_posts.post_type = 'attachment' AND ( ( ( wpml_translations.language_code = 'en' OR ( wpml_translations.language_code = 'fr' AND mv2_posts.post_type IN ( 'page' ) AND ( ( ( SELECT COUNT(element_id) FROM mv2_icl_translations WHERE trid = wpml_translations.trid AND language_code = 'en' ) = 0 ) OR ( ( SELECT COUNT(element_id) FROM mv2_icl_translations t2 JOIN mv2_posts p ON p.id = t2.element_id WHERE t2.trid = wpml_translations.trid AND t2.language_code = 'en' AND ( p.post_status = 'publish' OR p.post_type='attachment' AND p.post_status = 'inherit' ) ) = 0 ) ) ) ) AND mv2_posts.post_type IN ('page','attachment','wp_block','product','product_variation' ) ) OR mv2_posts.post_type NOT IN ('page','attachment','wp_block','product','product_variation' ) ) ORDER BY mv2_posts.post_date DESC

WordPress database error: [Unknown column 'wpml_translations.language_code' in 'where clause']
SELECT mv2_posts.* FROM mv2_posts WHERE 1=1 AND mv2_posts.post_name = 'about-us' AND mv2_posts.post_type = 'attachment' AND ( ( ( wpml_translations.language_code = 'en' OR ( wpml_translations.language_code = 'fr' AND mv2_posts.post_type IN ( 'page' ) AND ( ( ( SELECT COUNT(element_id) FROM mv2_icl_translations WHERE trid = wpml_translations.trid AND language_code = 'en' ) = 0 ) OR ( ( SELECT COUNT(element_id) FROM mv2_icl_translations t2 JOIN mv2_posts p ON p.id = t2.element_id WHERE t2.trid = wpml_translations.trid AND t2.language_code = 'en' AND ( p.post_status = 'publish' OR p.post_type='attachment' AND p.post_status = 'inherit' ) ) = 0 ) ) ) ) AND mv2_posts.post_type IN ('page','attachment','wp_block','product','product_variation' ) ) OR mv2_posts.post_type NOT IN ('page','attachment','wp_block','product','product_variation' ) ) ORDER BY mv2_posts.post_date DESC

COUP DE COEUR

No Product

X