[TypeError] count(): Argument #1 ($value) must be of type Countable|array, string given (0) /home/v/vilkas/y-xaxa/public_html/bitrix/components/my/treelike_comments/component.php:270 #0: getComments(boolean, integer, array, integer, string, array) /home/v/vilkas/y-xaxa/public_html/bitrix/components/my/treelike_comments/component.php:293 #1: include(string) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component.php:615 #2: CBitrixComponent->__includeComponent() /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component.php:692 #3: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/main.php:1072 #4: CAllMain->IncludeComponent(string, string, array, boolean) /home/v/vilkas/y-xaxa/public_html/bitrix/templates/2012_adapt/components/bitrix/news.detail/detal/template.php:121 #5: include(string) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component_template.php:790 #6: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component_template.php:885 #7: CBitrixComponentTemplate->IncludeTemplate(array) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component.php:784 #8: CBitrixComponent->showComponentTemplate() /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component.php:724 #9: CBitrixComponent->includeComponentTemplate() /home/v/vilkas/y-xaxa/public_html/bitrix/components/bitrix/news.detail/component.php:515 #10: include(string) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component.php:615 #11: CBitrixComponent->__includeComponent() /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/component.php:692 #12: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/classes/general/main.php:1072 #13: CAllMain->IncludeComponent(string, string, array, boolean) /home/v/vilkas/y-xaxa/public_html/detal.php:7 #14: include_once(string) /home/v/vilkas/y-xaxa/public_html/bitrix/modules/main/include/urlrewrite.php:184 #15: include_once(string) /home/v/vilkas/y-xaxa/public_html/bitrix/urlrewrite.php:2 ----------