WordPress database error: [Unknown column 't.language_code' in 'where clause']
SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = 'news' AND wp_posts.post_type = 'attachment' AND ( ( ( t.language_code = 'en' OR ( t.language_code = 'en' AND wp_posts.post_type IN ( 'experts' ) AND ( ( ( SELECT COUNT(element_id) FROM wp_icl_translations WHERE trid = t.trid AND language_code = 'en' ) = 0 ) OR ( ( SELECT COUNT(element_id) FROM wp_icl_translations t2 JOIN wp_posts p ON p.id = t2.element_id WHERE t2.trid = t.trid AND t2.language_code = 'en' AND ( p.post_status = 'publish' OR p.post_type='attachment' AND p.post_status = 'inherit' ) ) = 0 ) ) ) ) AND wp_posts.post_type IN ('attachment','wp_block','experts' ) ) OR wp_posts.post_type NOT IN ('attachment','wp_block','experts' ) ) ORDER BY wp_posts.post_date DESC


Warning: Cannot modify header information - headers already sent by (output started at /home/diales/public_html/wp-includes/wp-db.php:1479) in /home/diales/public_html/wp-includes/pluggable.php on line 1251

Warning: Cannot modify header information - headers already sent by (output started at /home/diales/public_html/wp-includes/wp-db.php:1479) in /home/diales/public_html/wp-includes/pluggable.php on line 1254