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 'Hara' AND lang='en'' at line 1 QUERYSELECT * FROM seo_meta WHERE platform_id='w4' AND url='/de/search/cast/Maureen-O'Hara' AND lang='en'