Доброго времени суток.
Такая штука в блоке галереи произошла основная фотография есть, а на месте слайдера ошибки. Слайдер по всей видимости FancyBox. Сам в PHP немного понимаю, а в компонентах не особо. Сайт был готовый, после обновления на 8 версию видимо это случилось, а может и нет. На сайте многосайтовость для двух языков, разные шаблоны. Полетел английский, потому что кривой, что-то изменяли, обрезали, не понятно зачем. Так сайт изначально внедрили, это еще до меня было. В русской версии где шаблон оригинальный все норм. Подскажите пожалуйста, куда копать )
[TypeError]
count(): Argument #1 ($value) must be of type Countable|array, null given (0)
/home/i/itcdevel16/belruch/public_html/bitrix/templates/aspr o-allcorp2_copy/components/bitrix/news.detail/projects/component_epilog.php:11
#0: include
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:1493
#1: CBitrixComponent->includeComponentEpilog(array)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:1060
#2: CBitrixComponent->startResultCache(integer, array)
/home/i/itcdevel16/belruch/public_html/bitrix/components/bit rix/news.detail/component.php:137
#3: include(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:607
#4: CBitrixComponent->__includeComponent()
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:684
#5: CBitrixComponent->includeComponent(string, array, object, boolean)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/main.php:1068
#6: CAllMain->IncludeComponent(string, string, array, object)
/home/i/itcdevel16/belruch/public_html/bitrix/templates/.default/components/bitrix/news/projects2/page_blocks/element _1.php:3
#7: include_once(string)
/home/i/itcdevel16/belruch/public_html/bitrix/templates/.default/components/bitrix/news/projects2/detail.php:86
#8: include(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component_template.php:790
#9: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component_template.php:885
#10: CBitrixComponentTemplate->IncludeTemplate(array)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:776
#11: CBitrixComponent->showComponentTemplate()
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:716
#12: CBitrixComponent->includeComponentTemplate(string)
/home/i/itcdevel16/belruch/public_html/bitrix/components/bit rix/news/component.php:216
#13: include(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:607
#14: CBitrixComponent->__includeComponent()
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/component.php:684
#15: CBitrixComponent->includeComponent(string, array, boolean, boolean)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c lasses/general/main.php:1068
#16: CAllMain->IncludeComponent(string, string, array, boolean)
/home/i/itcdevel16/belruch/public_html/en/projects/index.php:246
#17: include_once(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/i nclude/urlrewrite.php:184
#18: include_once(string)
/home/i/itcdevel16/belruch/public_html/bitrix/urlrewrite.php:2
----------
Такая штука в блоке галереи произошла основная фотография есть, а на месте слайдера ошибки. Слайдер по всей видимости FancyBox. Сам в PHP немного понимаю, а в компонентах не особо. Сайт был готовый, после обновления на 8 версию видимо это случилось, а может и нет. На сайте многосайтовость для двух языков, разные шаблоны. Полетел английский, потому что кривой, что-то изменяли, обрезали, не понятно зачем. Так сайт изначально внедрили, это еще до меня было. В русской версии где шаблон оригинальный все норм. Подскажите пожалуйста, куда копать )
[TypeError]
count(): Argument #1 ($value) must be of type Countable|array, null given (0)
/home/i/itcdevel16/belruch/public_html/bitrix/templates/aspr
#0: include
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#1: CBitrixComponent->includeComponentEpilog(array)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#2: CBitrixComponent->startResultCache(integer, array)
/home/i/itcdevel16/belruch/public_html/bitrix/components/bit
#3: include(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#4: CBitrixComponent->__includeComponent()
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#5: CBitrixComponent->includeComponent(string, array, object, boolean)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#6: CAllMain->IncludeComponent(string, string, array, object)
/home/i/itcdevel16/belruch/public_html/bitrix/templates/.default/components/bitrix/news/projects2/page_blocks/element
#7: include_once(string)
/home/i/itcdevel16/belruch/public_html/bitrix/templates/.default/components/bitrix/news/projects2/detail.php:86
#8: include(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#9: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#10: CBitrixComponentTemplate->IncludeTemplate(array)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#11: CBitrixComponent->showComponentTemplate()
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#12: CBitrixComponent->includeComponentTemplate(string)
/home/i/itcdevel16/belruch/public_html/bitrix/components/bit
#13: include(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#14: CBitrixComponent->__includeComponent()
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#15: CBitrixComponent->includeComponent(string, array, boolean, boolean)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/c
#16: CAllMain->IncludeComponent(string, string, array, boolean)
/home/i/itcdevel16/belruch/public_html/en/projects/index.php:246
#17: include_once(string)
/home/i/itcdevel16/belruch/public_html/bitrix/modules/main/i
#18: include_once(string)
/home/i/itcdevel16/belruch/public_html/bitrix/urlrewrite.php:2
----------