[TypeError] count(): Argument #1 ($value) must be of type Countable|array, bool given (0) /home/c/cc89435/bitrix/public_html/bitrix/templates/prosport_default/components/bitrix/news.detail/brands/result_modifier.php:18 #0: include /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component_template.php:947 #1: CBitrixComponentTemplate->__IncludeMutatorFile(array, array) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component_template.php:854 #2: CBitrixComponentTemplate->IncludeTemplate(array) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:784 #3: CBitrixComponent->showComponentTemplate() /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:724 #4: CBitrixComponent->includeComponentTemplate() /home/c/cc89435/bitrix/public_html/bitrix/components/bitrix/news.detail/component.php:515 #5: include(string) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:615 #6: CBitrixComponent->__includeComponent() /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:692 #7: CBitrixComponent->includeComponent(string, array, object, boolean) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/main.php:1195 #8: CAllMain->IncludeComponent(string, string, array, object) /home/c/cc89435/bitrix/public_html/bitrix/templates/prosport_default/components/bitrix/news/brands/detail.php:10 #9: include(string) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component_template.php:790 #10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component_template.php:885 #11: CBitrixComponentTemplate->IncludeTemplate(array) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:784 #12: CBitrixComponent->showComponentTemplate() /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:724 #13: CBitrixComponent->includeComponentTemplate(string) /home/c/cc89435/bitrix/public_html/bitrix/components/bitrix/news/component.php:336 #14: include(string) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:615 #15: CBitrixComponent->__includeComponent() /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/component.php:692 #16: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/classes/general/main.php:1195 #17: CAllMain->IncludeComponent(string, string, array, boolean) /home/c/cc89435/bitrix/public_html/brands/index.php:5 #18: include_once(string) /home/c/cc89435/bitrix/public_html/bitrix/modules/main/include/urlrewrite.php:184 #19: include_once(string) /home/c/cc89435/bitrix/public_html/bitrix/urlrewrite.php:2 ----------