[TypeError] count(): Argument #1 ($value) must be of type Countable|array, bool given (0) /var/www/sanstop/data/www/sanstop.ru/bitrix/templates/alpha_s1/components/nextype/alpha.brands/main/include/sidebar/catalogmenu.php:71 #0: require /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/nextype.alpha/classes/general/layout/partial.php:114 #1: Nextype\Alpha\Layout\Partial->render(string, array, boolean, boolean) /var/www/sanstop/data/www/sanstop.ru/bitrix/templates/alpha_s1/components/nextype/alpha.brands/main/section.php:280 #2: include(string) /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/component_template.php:790 #3: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/component_template.php:885 #4: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/component.php:784 #5: CBitrixComponent->showComponentTemplate() /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/component.php:724 #6: CBitrixComponent->includeComponentTemplate(string) /var/www/sanstop/data/www/sanstop.ru/bitrix/components/nextype/alpha.brands/component.php:210 #7: include(string) /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/component.php:615 #8: CBitrixComponent->__includeComponent() /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/component.php:692 #9: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/classes/general/main.php:1195 #10: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/sanstop/data/www/sanstop.ru/brands/index.php:4 #11: include_once(string) /var/www/sanstop/data/www/sanstop.ru/bitrix/modules/main/include/urlrewrite.php:184 #12: include_once(string) /var/www/sanstop/data/www/sanstop.ru/bitrix/urlrewrite.php:2 ----------