[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (0)  (400)

				SELECT
					P.ID
					,P.CODE
					,P.TEMPLATE
					,P.ENTITY_TYPE
					,P.ENTITY_ID
					,IP.VALUE
					,IP.SECTION_ID
				FROM
					b_iblock_section_iprop IP
					INNER JOIN b_iblock_iproperty P ON P.ID = IP.IPROP_ID
				WHERE
					IP.IBLOCK_ID = 41
					AND IP.SECTION_ID in (3160, 3151, 3058, 3113, 3114, 3115, 3116, 3059, 3060, 3117, 3118, 3119, 3120, 3121, 3122, 3123, 3124, 3125, 3126, 3127, 3061, 3128, 3129, 3130, 3131, 3132, 3062, 3133, 3134, 3135, 3136, 3137, 3138, 3139, 3140, 3141, 3142, 3063, 3064, 3065, 3143, 3144, 3145, 3146)
				
/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/iblock/lib/inheritedproperty/sectionvalues.php:116
#2: Bitrix\Iblock\InheritedProperty\SectionValues->queryValues()
	/home/bitrix/www/bitrix/modules/iblock/lib/inheritedproperty/basevalues.php:104
#3: Bitrix\Iblock\InheritedProperty\BaseValues->getValues()
	/home/bitrix/ext_www/s2/local/components/bitrix/catalog.section.list/component.php:306
#4: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#5: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#6: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#7: CAllMain->IncludeComponent(string, string, array, object, array)
	/home/bitrix/www/bitrix/templates/magnet_s2/components/bitrix/catalog/main/section.php:237
#8: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#9: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#10: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:764
#11: CBitrixComponent->showComponentTemplate()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:712
#12: CBitrixComponent->includeComponentTemplate(string)
	/home/bitrix/www/bitrix/components/bitrix/catalog/component.php:171
#13: include(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#14: CBitrixComponent->__includeComponent()
	/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#15: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1039
#16: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/bitrix/ext_www/s2/index.php:782
#17: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2