[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/p/panorama34/public_html/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:34 #0: CSitemapStructure->getSitemap(array, integer, array) /home/p/panorama34/public_html/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:38 #1: CSitemapStructure->getSitemap(array) /home/p/panorama34/public_html/bitrix/components/nsandrey/sitemap/component.php:19 #2: include(string) /home/p/panorama34/public_html/bitrix/modules/main/classes/general/component.php:615 #3: CBitrixComponent->__includeComponent() /home/p/panorama34/public_html/bitrix/modules/main/classes/general/component.php:692 #4: CBitrixComponent->includeComponent(string, array, NULL, boolean) /home/p/panorama34/public_html/bitrix/modules/main/classes/general/main.php:1195 #5: CAllMain->IncludeComponent(string, string, array) /home/p/panorama34/public_html/karta-sayta.php:8 ----------