SQL Error: 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 'Брайэн %' OR actors LIKE BINARY 'Марк О'Брайэн,%' OR actors' at line 2 at /var/www/html/engine/classes/movie.php line 59
Array
(
    [code] => 1064
    [message] => 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 'Брайэн %' OR
		actors LIKE BINARY 'Марк О'Брайэн,%' OR
		actors' at line 2
    [query] => SELECT COUNT(*) AS count  FROM movie AS a WHERE a.state = 1 AND a.created < NOW()   AND (
		actors LIKE BINARY 'Марк О'Брайэн %' OR
		actors LIKE BINARY 'Марк О'Брайэн,%' OR
		actors LIKE BINARY '% Марк О'Брайэн,%' OR
		actors LIKE BINARY '%,Марк О'Брайэн %' OR
		actors = 'Марк О'Брайэн' OR
		actors LIKE BINARY '% Марк О'Брайэн' OR
		actors LIKE BINARY '%,Марк О'Брайэн'
	) LIMIT 1
    [context] => /var/www/html/engine/classes/movie.php line 59
)