MySQL error:

Query: SELECT controlValue FROM control WHERE (controlType = 'searchAlias') AND (controlAbbrev = 'pharoah's')

at line 756 in file /var/sites/i/imagingthebible.delweddau.cymru/public_html/searchfunctions.inc.php

Error message: 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 's')' at line 1