[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/energia.sitemap/classes/general/CSitemapStructure.php:48 #0: count(NULL) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/energia.sitemap/classes/general/CSitemapStructure.php:48 #1: CSitemapStructure->getSitemap(array, integer, array) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/energia.sitemap/classes/general/CSitemapStructure.php:52 #2: CSitemapStructure->getSitemap(array, integer, array) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/energia.sitemap/classes/general/CSitemapStructure.php:52 #3: CSitemapStructure->getSitemap(array) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/components/energia/sitemap/component.php:19 #4: include(string) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/main/classes/general/component.php:607 #5: CBitrixComponent->__includeComponent() /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/main/classes/general/component.php:684 #6: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/main/classes/general/main.php:1072 #7: CAllMain->IncludeComponent(string, string, array, boolean) /home/a/aermaksl/amurstroytehnika.rf/public_html/karta-sayta-html.php:1311 #8: include_once(string) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/modules/main/include/urlrewrite.php:184 #9: include_once(string) /home/a/aermaksl/amurstroytehnika.rf/public_html/bitrix/urlrewrite.php:2 ----------