[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.section/class.php:85 #0: sgCatalogSectionComponent->initElementResult() /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.section/class.php:56 #1: sgCatalogSectionComponent->executeComponent() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:660 #2: CBitrixComponent->includeComponent(string, array, object, boolean) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #3: CAllMain->IncludeComponent(string, string, array, object) /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog/templates/.default/section.php:89 #4: include(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #5: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #6: CBitrixComponentTemplate->IncludeTemplate(array) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:776 #7: CBitrixComponent->showComponentTemplate() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:716 #8: CBitrixComponent->includeComponentTemplate(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog/class.php:108 #9: SgCatalog->executeComponent() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:660 #10: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #11: CAllMain->IncludeComponent(string, string, array, boolean) /home/vodoprvd/domains/vodoprovod.ru/public_html/catalog/index.php:22 #12: include_once(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184 #13: include_once(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/urlrewrite.php:2 ----------