A Database Error Occurred

Error Number: 1064

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 'Heritage' IN BOOLEAN MODE) AS relevance from descargas where MATCH(titulo) AG...' at line 1

select id,titulo,enlace, ano, web,bitly, MATCH (titulo) AGAINST ('L'Heritage' IN BOOLEAN MODE) AS relevance from descargas where MATCH(titulo) AGAINST('L'Heritage' IN BOOLEAN MODE) and ano=2006 having relevance>=1 order by relevance desc,ABS( LENGTH('L'Heritage') - LENGTH(titulo) )

Filename: /var/www/vhosts/qpelicula.com/httpdocs/models/peliculas.php

Line Number: 43