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 'snotasmoke,it'sactuallyasurprise,Wendy.%' OR tags LIKE '%Actually,it'snotasmoke,' at line 1

SELECT count(*) as cnt FROM zpicture WHERE status=1 AND ( title LIKE '%Actually,it'snotasmoke,it'sactuallyasurprise,Wendy.%' OR tags LIKE '%Actually,it'snotasmoke,it'sactuallyasurprise,Wendy.%' )

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

Line Number: 241