[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /var/www/u0094113/data/www/egevideo.ru/bitrix/components/custom/catalog.sections.top/component.php:130 #0: include /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component.php:607 #1: CBitrixComponent->__includeComponent() /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component.php:684 #2: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/main.php:1072 #3: CAllMain->IncludeComponent(string, string, array, boolean, array) /var/www/u0094113/data/www/egevideo.ru/bitrix/templates/.default/components/bitrix/catalog/articles/section_vertical.php:81 #4: include(string) /var/www/u0094113/data/www/egevideo.ru/bitrix/templates/.default/components/bitrix/catalog/articles/section.php:18 #5: include(string) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component_template.php:790 #6: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component_template.php:885 #7: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component.php:776 #8: CBitrixComponent->showComponentTemplate() /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component.php:716 #9: CBitrixComponent->includeComponentTemplate(string) /var/www/u0094113/data/www/egevideo.ru/bitrix/components/bitrix/catalog/component.php:323 #10: include(string) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component.php:607 #11: CBitrixComponent->__includeComponent() /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/component.php:684 #12: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/classes/general/main.php:1072 #13: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/u0094113/data/www/egevideo.ru/stati/index.php:255 #14: include_once(string) /var/www/u0094113/data/www/egevideo.ru/bitrix/modules/main/include/urlrewrite.php:184 #15: include_once(string) /var/www/u0094113/data/www/egevideo.ru/bitrix/urlrewrite.php:2 ----------