[TypeError] count(): Argument #1 ($value) must be of type Countable|array, null given (0) /var/www/bitrix/data/www/hobbypark.by/local/templates/enext/components/bitrix/news/objects/section.php:339 #0: include /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/component_template.php:790 #1: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/component_template.php:885 #2: CBitrixComponentTemplate->IncludeTemplate(array) /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/component.php:776 #3: CBitrixComponent->showComponentTemplate() /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/component.php:716 #4: CBitrixComponent->includeComponentTemplate(string) /var/www/bitrix/data/www/hobbypark.by/bitrix/components/bitrix/news/component.php:336 #5: include(string) /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/component.php:607 #6: CBitrixComponent->__includeComponent() /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/component.php:684 #7: CBitrixComponent->includeComponent(string, array, boolean, boolean) /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/classes/general/main.php:1072 #8: CAllMain->IncludeComponent(string, string, array, boolean) /var/www/bitrix/data/www/hobbypark.by/places/index.php:389 #9: include_once(string) /var/www/bitrix/data/www/hobbypark.by/bitrix/modules/main/include/urlrewrite.php:184 #10: include_once(string) /var/www/bitrix/data/www/hobbypark.by/bitrix/urlrewrite.php:2 ----------