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 'être%' OR
Request.name LIKE '%Black%Raison%d'être%'
OR
Request.anime ' at line 2
Original SQL:
SELECT COUNT(*) FROM Request WHERE `status` = 'Pending' AND (
Request.song LIKE '%Black%Raison%d'être%' OR
Request.name LIKE '%Black%Raison%d'être%' OR
Request.anime LIKE '%Black%Raison%d'être%' OR
Request.artist LIKE '%Black%Raison%d'être%' OR
Request.type LIKE '%Black%Raison%d'être%'
)