[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /home/dilling-we/woolito.ru/docs/inc/catalog-item.inc.php:113 #0: include /home/dilling-we/woolito.ru/docs/bitrix/components/bitrix/main.include/templates/.default/template.php:17 #1: include(string) /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/component_template.php:790 #2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/component_template.php:885 #3: CBitrixComponentTemplate->IncludeTemplate(array) /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/component.php:784 #4: CBitrixComponent->showComponentTemplate() /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/component.php:724 #5: CBitrixComponent->includeComponentTemplate() /home/dilling-we/woolito.ru/docs/bitrix/components/bitrix/main.include/component.php:280 #6: include(string) /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/component.php:615 #7: CBitrixComponent->__includeComponent() /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/component.php:692 #8: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/dilling-we/woolito.ru/docs/bitrix/modules/main/classes/general/main.php:1195 #9: CAllMain->IncludeComponent(string, string, array, boolean) /home/dilling-we/woolito.ru/docs/catalog/item.php:14 #10: include_once(string) /home/dilling-we/woolito.ru/docs/bitrix/modules/main/include/urlrewrite.php:184 #11: include_once(string) /home/dilling-we/woolito.ru/docs/bitrix/urlrewrite.php:2 ----------