[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/d/designfz/myhomely.ru/public_html/bitrix/templates/dresscodeV2/components/dresscode/catalog/.default/bitrix/catalog.section.list/level2/result_modifier.php:6 #0: count(NULL) /home/d/designfz/myhomely.ru/public_html/bitrix/templates/dresscodeV2/components/dresscode/catalog/.default/bitrix/catalog.section.list/level2/result_modifier.php:6 #1: include(string) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component_template.php:947 #2: CBitrixComponentTemplate->__IncludeMutatorFile(array, array) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component_template.php:854 #3: CBitrixComponentTemplate->IncludeTemplate(array) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:776 #4: CBitrixComponent->showComponentTemplate() /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:716 #5: CBitrixComponent->includeComponentTemplate() /home/d/designfz/myhomely.ru/public_html/bitrix/components/bitrix/catalog.section.list/component.php:538 #6: include(string) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:607 #7: CBitrixComponent->__includeComponent() /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:684 #8: CBitrixComponent->includeComponent(string, array, object, boolean) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #9: CAllMain->IncludeComponent(string, string, array, object, array) /home/d/designfz/myhomely.ru/public_html/bitrix/templates/dresscodeV2/components/dresscode/catalog/.default/section.php:239 #10: include(string) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #11: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #12: CBitrixComponentTemplate->IncludeTemplate(array) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:776 #13: CBitrixComponent->showComponentTemplate() /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:716 #14: CBitrixComponent->includeComponentTemplate(string) /home/d/designfz/myhomely.ru/public_html/bitrix/components/dresscode/catalog/component.php:182 #15: include(string) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:607 #16: CBitrixComponent->__includeComponent() /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/component.php:684 #17: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #18: CAllMain->IncludeComponent(string, string, array, boolean) /home/d/designfz/myhomely.ru/public_html/catalog/index.php:21 #19: include_once(string) /home/d/designfz/myhomely.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184 #20: include_once(string) /home/d/designfz/myhomely.ru/public_html/bitrix/urlrewrite.php:2 ----------