[TypeError] count(): Argument #1 ($value) must be of type Countable|array, false given (0) /home/h/hillel/new.hillel.ru/public_html/local/templates/.default/components/bitrix/news.detail/event_page/template.php:109 #0: count(boolean) /home/h/hillel/new.hillel.ru/public_html/local/templates/.default/components/bitrix/news.detail/event_page/template.php:109 #1: include(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #3: CBitrixComponentTemplate->IncludeTemplate(array) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:784 #4: CBitrixComponent->showComponentTemplate() /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:724 #5: CBitrixComponent->includeComponentTemplate() /home/h/hillel/new.hillel.ru/public_html/bitrix/components/bitrix/news.detail/component.php:515 #6: include(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:615 #7: CBitrixComponent->__includeComponent() /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:692 #8: CBitrixComponent->includeComponent(string, array, object, boolean) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/main.php:1195 #9: CAllMain->IncludeComponent(string, string, array, object) /home/h/hillel/new.hillel.ru/public_html/local/templates/.default/components/bitrix/news/events_page/detail.php:15 #10: include(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component_template.php:790 #11: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component_template.php:885 #12: CBitrixComponentTemplate->IncludeTemplate(array) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:784 #13: CBitrixComponent->showComponentTemplate() /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:724 #14: CBitrixComponent->includeComponentTemplate(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/components/bitrix/news/component.php:336 #15: include(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:615 #16: CBitrixComponent->__includeComponent() /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/component.php:692 #17: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/classes/general/main.php:1195 #18: CAllMain->IncludeComponent(string, string, array, boolean) /home/h/hillel/new.hillel.ru/public_html/events/index.php:5 #19: include_once(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/modules/main/include/urlrewrite.php:184 #20: include_once(string) /home/h/hillel/new.hillel.ru/public_html/bitrix/urlrewrite.php:2 ----------