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 'Art Mécaniques Ajourées%' OR news_tags LIKE '%Vacheron Constantin%' O' at line 5 at /var/www/paradise/data/www/watchparadise.ru/inc/Modules/functions.php line 4757
SQL Error:
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 'Art Mécaniques Ajourées%'
	OR news_tags LIKE '%Vacheron Constantin%' O' at line 5
    [query] => select count(*) from wp_news t1 join wp_news_category t0 on t1.ncat_id=t0.ncat_id and t0.ncat_visible=2
 				join wp_blocks t21 on t21.block_desc = t1.ncat_id
				join wp_category_blocks t31 on t31.block_id = t21.block_id and t31.visible = 2 and t31.desc = 'news'
				join wp_news_category t10 on t1.ncat_id=t10.ncat_id and t10.ncat_visible=2
	 			where t1.blog = 1 and news_lang='ru' and news_visible=2 and news_date<1481325020 and t1.ncat_id = 1 and news_id != 615 and (news_title LIKE '%Vacheron Constantin%' OR news_title LIKE '%Métiers d'Art Mécaniques Ajourées%'
	OR news_tags LIKE '%Vacheron Constantin%' OR news_tags LIKE '%Métiers d'Art Mécaniques Ajourées%'
	OR news_text LIKE '%Vacheron Constantin%' OR news_text LIKE '%Métiers d'Art Mécaniques Ajourées%'
	OR news_fulltext LIKE '%Vacheron Constantin%' OR news_fulltext LIKE '%Métiers d'Art Mécaniques Ajourées%')
    [context] => /var/www/paradise/data/www/watchparadise.ru/inc/Modules/functions.php line 4757
)