[Bitrix\Main\DB\SqlQueryException] Mysql query error: Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'ersro.olsc_admission.RISK_DEGREE' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (400) SELECT olsc_work_type.NUMBER AS NUMBER, olsc_work_type.ACTIVITY AS ACTIVITY, olsc_work_type.NAME AS NAME, olsc_admission.RISK_DEGREE AS RISK_DEGREE, olsc_admission.CERTIFICATE_ID AS CERTIFICATE_ID FROM olsc_work_type LEFT JOIN olsc_admission ON (olsc_work_type.ID = olsc_admission.WORK_TYPE_ID AND olsc_admission.CERTIFICATE_ID IN (16179)) GROUP BY olsc_work_type.ID /www/ersro/bitrix/modules/main/lib/db/mysqlconnection.php:87 #0: Bitrix\Main\DB\MysqlConnection->queryInternal(string, array, NULL) /www/ersro/bitrix/modules/main/lib/db/connection.php:284 #1: Bitrix\Main\DB\Connection->query(string) /www/ersro/local/components/inter.olsc/org.admission/class.php:20 #2: builder_tree->executeComponent() /www/ersro/bitrix/modules/main/classes/general/component.php:501 #3: CBitrixComponent->includeComponent(string, array, NULL) /www/ersro/bitrix/modules/main/classes/general/main.php:2223 #4: CAllMain->IncludeComponent(string, string, array, NULL, array) /www/ersro/org/admission.php:34 #5: include_once(string) /www/ersro/bitrix/modules/main/include/urlrewrite.php:155 #6: include_once(string) /www/ersro/bitrix/urlrewrite.php:2