[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/templates/metallobazapk/components/bitrix/catalog.section.list/podrazdel/component_epilog.php:8 #0: include /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:1493 #1: CBitrixComponent->includeComponentEpilog(array) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:718 #2: CBitrixComponent->includeComponentTemplate() /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/components/bitrix/catalog.section.list/component.php:538 #3: include(string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:607 #4: CBitrixComponent->__includeComponent() /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:684 #5: CBitrixComponent->includeComponent(string, array, object, boolean) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/main.php:1072 #6: CAllMain->IncludeComponent(string, string, array, object, array) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/templates/metallobazapk/components/bitrix/catalog/bootstrap_v4/section_horizontal.php:222 #7: include(string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/templates/metallobazapk/components/bitrix/catalog/bootstrap_v4/section.php:80 #8: include(string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component_template.php:790 #9: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component_template.php:885 #10: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:776 #11: CBitrixComponent->showComponentTemplate() /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:716 #12: CBitrixComponent->includeComponentTemplate(string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/components/bitrix/catalog/component.php:323 #13: include(string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:607 #14: CBitrixComponent->__includeComponent() /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/component.php:684 #15: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/classes/general/main.php:1072 #16: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/u0525446/data/www/metallobaza1001.ru/katalog/index.php:176 #17: include_once(string) /var/www/u0525446/data/www/metallobaza1001.ru/bitrix/modules/main/include/urlrewrite.php:184 #18: include_once(string) /var/www/u0525446/data/www/metallobaza1001.ru/404.php:2 ----------