A Database Error Occurred

Error Number: 1064

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 'shot.%' OR tags LIKE '%Oh,it'shot.%' )' at line 1

SELECT count(*) as cnt FROM zpicture WHERE status=1 AND ( title LIKE '%Oh,it'shot.%' OR tags LIKE '%Oh,it'shot.%' )

Filename: /var/www2run/libraries/Zzallib.php

Line Number: 241