[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:34 #0: count(NULL) /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:34 #1: CSitemapStructure->getSitemap(array, integer, array) /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:38 #2: CSitemapStructure->getSitemap(array, integer, array) /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/nsandrey.sitemap/classes/general/CSitemapStructure.php:38 #3: CSitemapStructure->getSitemap(array) /home/s/salesdyi/dekora.shop/public_html/bitrix/components/nsandrey/sitemap/component.php:19 #4: include(string) /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/main/classes/general/component.php:607 #5: CBitrixComponent->__includeComponent() /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/main/classes/general/component.php:684 #6: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/s/salesdyi/dekora.shop/public_html/bitrix/modules/main/classes/general/main.php:1072 #7: CAllMain->IncludeComponent(string, string, array, boolean) /home/s/salesdyi/dekora.shop/public_html/karta-sayta/index.php:4 ----------