[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/t/tuapseza/nakup.ru/public_html/bitrix/components/dresscode/search/templates/.default/template.php:7 #0: count(NULL) /home/t/tuapseza/nakup.ru/public_html/bitrix/components/dresscode/search/templates/.default/template.php:7 #1: include(string) /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #3: CBitrixComponentTemplate->IncludeTemplate(array) /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/component.php:784 #4: CBitrixComponent->showComponentTemplate() /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/component.php:724 #5: CBitrixComponent->includeComponentTemplate() /home/t/tuapseza/nakup.ru/public_html/bitrix/components/dresscode/search/component.php:160 #6: include(string) /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/component.php:615 #7: CBitrixComponent->__includeComponent() /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/component.php:692 #8: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/t/tuapseza/nakup.ru/public_html/bitrix/modules/main/classes/general/main.php:1072 #9: CAllMain->IncludeComponent(string, string, array, boolean) /home/t/tuapseza/nakup.ru/public_html/search/index.php:172 ----------