No se pudo ejecutar la consulta

SELECT p.id,p.title,p.title_alias,p.hits,c.title as cate FROM mos_content p, mos_categories c WHERE c.id = p.catid AND (p.actor LIKE '%Gavin O'Connor%' OR p.director LIKE '%Gavin O'Connor%')

Error MySQL: : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Connor%' OR p.director LIKE '%Gavin O'Connor%')' at line 1

Este Script no puede continuar.