[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.element/class.php:215 #0: CatalogElementComponent->initSeoDescription() /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.element/class.php:123 #1: CatalogElementComponent->formatElement(array) /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.element/class.php:87 #2: CatalogElementComponent->setElement() /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.element/class.php:64 #3: CatalogElementComponent->initElement() /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog.element/class.php:54 #4: CatalogElementComponent->processResultData() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4697 #5: Bitrix\Iblock\Component\Base->loadData() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/elementlist.php:1330 #6: Bitrix\Iblock\Component\ElementList->loadData() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4686 #7: Bitrix\Iblock\Component\Base->initialLoadAction() #8: call_user_func(array) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4873 #9: Bitrix\Iblock\Component\Base->doAction() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4891 #10: Bitrix\Iblock\Component\Base->executeComponent() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:660 #11: CBitrixComponent->includeComponent(string, array, object, boolean) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #12: CAllMain->IncludeComponent(string, string, array, object) /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog/templates/.default/modification.php:71 #13: include(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #14: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #15: CBitrixComponentTemplate->IncludeTemplate(array) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:776 #16: CBitrixComponent->showComponentTemplate() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:716 #17: CBitrixComponent->includeComponentTemplate(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/local/components/sg/catalog/class.php:122 #18: SgCatalog->executeComponent() /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/component.php:660 #19: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #20: CAllMain->IncludeComponent(string, string, array, boolean) /home/vodoprvd/domains/vodoprovod.ru/public_html/catalog/index.php:22 #21: include_once(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184 #22: include_once(string) /home/vodoprvd/domains/vodoprovod.ru/public_html/bitrix/urlrewrite.php:2 ----------