[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/bitrix/www/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:48 #0: CSitemapStructure->getSitemap(array, integer, array) /home/bitrix/www/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:52 #1: CSitemapStructure->getSitemap(array) /home/bitrix/www/bitrix/components/nsandrey/sitemap/component.php:19 #2: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:615 #3: CBitrixComponent->__includeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:692 #4: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1072 #5: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/map/index.php:720 ----------