[TypeError] sort(): Argument #1 ($array) must be of type array, null given (0) /var/www/mzpermru/data/www/mzperm.ru/bitrix/components/epir/medialibrary.list/component.php:95 #0: sort(NULL) /var/www/mzpermru/data/www/mzperm.ru/bitrix/components/epir/medialibrary.list/component.php:95 #1: include(string) /var/www/mzpermru/data/www/mzperm.ru/bitrix/modules/main/classes/general/component.php:607 #2: CBitrixComponent->__includeComponent() /var/www/mzpermru/data/www/mzperm.ru/bitrix/modules/main/classes/general/component.php:684 #3: CBitrixComponent->includeComponent(string, array, NULL, boolean) /var/www/mzpermru/data/www/mzperm.ru/bitrix/modules/main/classes/general/main.php:1072 #4: CAllMain->IncludeComponent(string, string, array) /var/www/mzpermru/data/www/mzperm.ru/press-center/gallery/index.php:14 ----------