SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Брайан %' OR director LIKE BINARY 'Джеф О'Брайан,%' OR dire' at line 2 at /var/www/onlainfilms/data/www/onlainfilms.net/engine/classes/movie.php line 37
Array
(
    [code] => 1064
    [message] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Брайан %' OR
		director LIKE BINARY 'Джеф О'Брайан,%' OR
		dire' at line 2
    [query] => SELECT COUNT(*) AS count  FROM movie AS a WHERE a.state = 1 AND a.created < NOW()   AND (
		director LIKE BINARY 'Джеф О'Брайан %' OR
		director LIKE BINARY 'Джеф О'Брайан,%' OR
		director LIKE BINARY '% Джеф О'Брайан,%' OR
		director LIKE BINARY '%,Джеф О'Брайан %' OR
		director = 'Джеф О'Брайан' OR
		director LIKE BINARY '% Джеф О'Брайан' OR
		director LIKE BINARY '%,Джеф О'Брайан'
	) LIMIT 1
    [context] => /var/www/onlainfilms/data/www/onlainfilms.net/engine/classes/movie.php line 37
)