[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1054) Unknown column 'sale_internals_order_props.SETTINGS' in 'field list' (400)
SELECT 
	DISTINCT(`sale_internals_order_props`.`ID`) AS `PROPERTY_ID`,
	`sale_internals_order_props`.`ID` AS `ID`,
	`sale_internals_order_props`.`CODE` AS `CODE`,
	`sale_internals_order_props`.`TYPE` AS `TYPE`,
	`sale_internals_order_props`.`SETTINGS` AS `SETTINGS`,
	`sale_internals_order_props`.`MULTIPLE` AS `MULTIPLE`
FROM `b_sale_order_props` `sale_internals_order_props` 
LEFT JOIN `b_sale_location` `sale_internals_order_props_location` ON `sale_internals_order_props`.`DEFAULT_VALUE` = `sale_internals_order_props_location`.`CODE`
WHERE `sale_internals_order_props`.`TYPE` = 'LOCATION'
/home/bitrix/www/drg/droug/bitrix/modules/main/lib/db/mysqliconnection.php:138
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/drg/droug/bitrix/modules/main/lib/db/connection.php:329
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/drg/droug/bitrix/modules/main/lib/entity/query.php:1757
#2: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/drg/droug/bitrix/modules/main/lib/entity/query.php:454
#3: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/drg/droug/bitrix/modules/sale/lib/compatible/compatible.php:594
#4: Bitrix\Sale\Compatible\OrderQuery->compatibleExec(object, boolean)
	/home/bitrix/www/drg/droug/bitrix/modules/sale/general/order_props.php:474
#5: CSaleOrderProps::GetList(array, array, boolean, boolean, array)
	/home/bitrix/www/drg/droug/bitrix/modules/sale/general/order.php:3617
#6: CAllSaleOrder::getLocationPropertyInfo()
	/home/bitrix/www/drg/droug/bitrix/modules/sale/mysql/order.php:289
#7: CSaleOrder::PrepareGetListArray(string, array, array)
	/home/bitrix/www/drg/droug/bitrix/modules/sale/mysql/order.php:789
#8: CSaleOrder::GetList(array, array)
	/home/bitrix/www/drg/droug/bitrix/modules/storeassist/classes/general/storeassist.php:293
#9: CStoreAssist::AgentCountDayOrders()
	/home/bitrix/www/drg/droug/bitrix/modules/main/classes/mysql/agent.php(159) : eval()'d code:1
#10: eval()
	/home/bitrix/www/drg/droug/bitrix/modules/main/classes/mysql/agent.php:159
#11: CAgent::ExecuteAgents(string)
	/home/bitrix/www/drg/droug/bitrix/modules/main/classes/mysql/agent.php:38
#12: CAgent::CheckAgents()
	/home/bitrix/www/drg/droug/bitrix/modules/main/include.php:1
#13: require_once(string)
	/home/bitrix/www/drg/droug/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/home/bitrix/www/drg/droug/bitrix/modules/main/include/prolog.php:10
#15: require_once(string)
	/home/bitrix/www/drg/droug/bitrix/header.php:1
#16: require(string)
	/home/bitrix/www/drg/droug/index.php:2