Database Error; SQL: SELECT
DISTINCT
`t`.*
FROM `wp_posts` AS `t`
LEFT JOIN `wp_postmeta` AS `categorias-publicacion-1` ON
`categorias-publicacion-1`.`meta_key` = 'categorias-publicacion-1'
AND `categorias-publicacion-1`.`post_id` = `t`.`ID`
LEFT JOIN `wp_postmeta` AS `_cmbform_textdate_publicacion` ON
`_cmbform_textdate_publicacion`.`meta_key` = '_cmbform_textdate_publicacion'
AND `_cmbform_textdate_publicacion`.`post_id` = `t`.`ID`
LEFT JOIN `wp_term_relationships` AS `polylang_languages`
ON `polylang_languages`.`object_id` = `t`.`ID`
AND `polylang_languages`.`term_taxonomy_id` = 2
WHERE ( (
`categorias-publicacion-1`.`meta_value`=Antik filosofi og visdom
) AND ( `t`.`post_type` = 'publicaciones' ) AND ( `polylang_languages`.`object_id` IS NOT NULL ) AND ( `t`.`post_status` IN ( 'publish' ) ) )
ORDER BY `_cmbform_textdate_publicacion`.`meta_value` DESC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`
LIMIT 0, 8; Response: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'filosofi og visdom
) AND ( `t`.`post_type` = 'publicaciones' ) AND ( `poly...' at line 22