Database Error; SQL: SELECT DISTINCT `t`.* FROM `wp_posts` AS `t` LEFT JOIN `wp_podsrel` AS `rel_disco` ON `rel_disco`.`field_id` = 628 AND `rel_disco`.`item_id` = `t`.`ID` LEFT JOIN `wp_posts` AS `disco` ON `disco`.`ID` = `rel_disco`.`related_item_id` LEFT JOIN `wp_postmeta` AS `cancion_orden` ON `cancion_orden`.`meta_key` = 'cancion_orden' AND `cancion_orden`.`post_id` = `t`.`ID` WHERE ( ( `disco`.`post_title` = 'Perdo L'Esma / Veste'n si us plau' ) AND ( `t`.`post_type` = 'cancion' ) AND ( `t`.`post_status` IN ( 'publish' ) ) ) ORDER BY CAST( `cancion_orden`.`meta_value` AS SIGNED ) ASC, `t`.`menu_order`, `t`.`post_title`, `t`.`post_date`; 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 'Esma / Veste'n si us plau' ) AND ( `t`.`post_type` = 'cancion' ) AND ( `t`.`p...' at line 19