[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1064) 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 'AS `ismachmask`,
	`cript_seo_models_seo`.`onlydetail` AS `onlydetail`,
	`cript_s' at line 14 (400)
SELECT 
	`cript_seo_models_seo`.`ID` AS `ID`,
	`cript_seo_models_seo`.`sort` AS `sort`,
	`cript_seo_models_seo`.`from` AS `from`,
	`cript_seo_models_seo`.`to` AS `to`,
	`cript_seo_models_seo`.`type` AS `type`,
	`cript_seo_models_seo`.`title` AS `title`,
	`cript_seo_models_seo`.`caption` AS `caption`,
	`cript_seo_models_seo`.`keywords` AS `keywords`,
	`cript_seo_models_seo`.`description` AS `description`,
	`cript_seo_models_seo`.`text` AS `text`,
	`cript_seo_models_seo`.`text_before` AS `text_before`,
	`cript_seo_models_seo`.`text_after` AS `text_after`,
	 AS `ismachmask`,
	`cript_seo_models_seo`.`onlydetail` AS `onlydetail`,
	`cript_seo_models_seo`.`page` AS `page`
FROM `cs_rules` `cript_seo_models_seo` 

WHERE (
	(
		`cript_seo_models_seo`.`from` = '/catalog/keramogranit/size-is-60%D1%85120/'
		AND `cript_seo_models_seo`.`type` = 'seo'
	)
	OR (
		`cript_seo_models_seo`.`type` = 'seo_a'
	)
)
AND `cript_seo_models_seo`.`lid` in ('s1', 'all')
AND UPPER(`cript_seo_models_seo`.`active`) like upper('Y')
ORDER BY `sort` ASC
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3304
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:816
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/local/modules/cript.seo/lib/handlers/seo.php:91
#4: Cript\Seo\Handlers\Seo->getCurrentyQuery(string)
	/home/bitrix/www/local/modules/cript.seo/lib/handlers/seo.php:406
#5: Cript\Seo\Handlers\Seo->getSeoByURl(string)
	/home/bitrix/www/local/modules/cript.seo/lib/seofilterrotator.php:172
#6: Cript\Seo\SeoFilterRotator->addSefUrl(integer, string)
	/home/bitrix/www/local/modules/cript.seo/lib/seofilterrotator.php:530
#7: Cript\Seo\SeoFilterRotator->addUrlType3()
	/home/bitrix/www/local/modules/cript.seo/lib/seofilterrotator.php:121
#8: Cript\Seo\SeoFilterRotator->rotateUrls()
	/home/bitrix/www/local/modules/cript.seo/lib/events.php:205
#9: Cript\Seo\Events::PageLoad()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#10: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include/epilog_after.php:10
#11: require(string)
	/home/bitrix/www/bitrix/modules/main/include/epilog.php:3
#12: require_once(string)
	/home/bitrix/www/bitrix/footer.php:4
#13: require(string)
	/home/bitrix/www/catalog/index.php:411
#14: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#15: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2