[TypeError] sort(): Argument #1 ($array) must be of type array, null given (0) /home/bitrix/ext_www/bc-arsenal.com/rent/elements.php:81 #0: sort(NULL) /home/bitrix/ext_www/bc-arsenal.com/rent/elements.php:81 #1: include_once(string) /home/bitrix/ext_www/bc-arsenal.com/bitrix/modules/main/include/urlrewrite.php:184 #2: include_once(string) /home/bitrix/ext_www/bc-arsenal.com/bitrix/urlrewrite.php:2 ----------