[TypeError]
count(): Argument #1 ($value) must be of type Countable|array, bool given (0)
/var/www/www-root/data/www/orthobarnaul/local/components/altasib/photo.gallery.list/templates/photogallery_list/template.php:26
#0: include
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component_template.php:790
#1: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component_template.php:885
#2: CBitrixComponentTemplate->IncludeTemplate(array)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:776
#3: CBitrixComponent->showComponentTemplate()
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:716
#4: CBitrixComponent->includeComponentTemplate()
/var/www/www-root/data/www/orthobarnaul/local/components/altasib/photo.gallery.list/component.php:373
#5: include(string)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:607
#6: CBitrixComponent->__includeComponent()
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:684
#7: CBitrixComponent->includeComponent(string, array, object, boolean)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/main.php:1072
#8: CAllMain->IncludeComponent(string, string, array, object)
/var/www/www-root/data/www/orthobarnaul/local/components/altasib/photo.gallery/templates/.default/list_gallery.php:16
#9: include(string)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component_template.php:790
#10: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component_template.php:885
#11: CBitrixComponentTemplate->IncludeTemplate(array)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:776
#12: CBitrixComponent->showComponentTemplate()
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:716
#13: CBitrixComponent->includeComponentTemplate(string)
/var/www/www-root/data/www/orthobarnaul/local/components/altasib/photo.gallery/component.php:211
#14: include(string)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:607
#15: CBitrixComponent->__includeComponent()
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/component.php:684
#16: CBitrixComponent->includeComponent(string, array, boolean, boolean)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/classes/general/main.php:1072
#17: CAllMain->IncludeComponent(string, string, array, boolean)
/var/www/www-root/data/www/orthobarnaul/about/gallery/nasha-fotogalereya/index.php:76
#18: include_once(string)
/var/www/www-root/data/www/orthobarnaul/bitrix/modules/main/include/urlrewrite.php:184
#19: include_once(string)
/var/www/www-root/data/www/orthobarnaul/bitrix/urlrewrite.php:2
----------