SQL error because of a single quote (')

This looks like it might be a bug in the plugin “RelatedContent,” You could try deactivating it to confirm.