Ошибка базы данных WordPress: [Unknown column 't.language_code' in 'where clause']
SELECT am_posts.* FROM am_posts WHERE 1=1 AND am_posts.post_name = 'vitkolovskaya-olga' AND am_posts.post_type = 'attachment' AND ( ( ( t.language_code = 'ru' OR ( t.language_code = 'ru' AND am_posts.post_type IN ( 'attachment' ) AND ( ( ( SELECT COUNT(element_id) FROM am_icl_translations WHERE trid = t.trid AND language_code = 'ru' ) = 0 ) OR ( ( SELECT COUNT(element_id) FROM am_icl_translations t2 JOIN am_posts p ON p.id = t2.element_id WHERE t2.trid = t.trid AND t2.language_code = 'ru' AND ( p.post_status = 'publish' OR p.post_type='attachment' AND p.post_status = 'inherit' ) ) = 0 ) ) ) ) AND am_posts.post_type IN ('attachment','wp_block' ) ) OR am_posts.post_type NOT IN ('attachment','wp_block' ) ) ORDER BY am_posts.post_date DESC