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 director L' at line 2 at /var/www/okolokino/data/www/mirkino.club/engine/classes/movie.php line 65
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
		director L' 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/okolokino/data/www/mirkino.club/engine/classes/movie.php line 65
)