Медиагалерея

[TypeError] 
count(): Argument #1 ($value) must be of type Countable|array, string given (0)
/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/db.base/classes/general/iblock_element_abstract.php:388
#0: ADBIBlockElement->executeProperties()
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/db.base/classes/general/iblock_element_abstract.php:84
#1: ADBIBlockElement->executeComponent()
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component.php:668
#2: CBitrixComponent->includeComponent(string, array, object, boolean)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/main.php:1072
#3: CAllMain->IncludeComponent(string, string, array, object)
	/var/www/eko-bazar/data/www/eko-bazar.ru/local/templates/html_blue/components/db.base/iblock/mediagallery/element.php:4
#4: include(string)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component_template.php:790
#5: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component_template.php:885
#6: CBitrixComponentTemplate->IncludeTemplate(array)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component.php:784
#7: CBitrixComponent->showComponentTemplate()
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component.php:724
#8: CBitrixComponent->includeComponentTemplate(string)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/components/db.base/iblock/component.php:100
#9: include(string)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component.php:615
#10: CBitrixComponent->__includeComponent()
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/component.php:692
#11: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/classes/general/main.php:1072
#12: CAllMain->IncludeComponent(string, string, array, boolean)
	/var/www/eko-bazar/data/www/eko-bazar.ru/mytishchi/mediagallery/index.php:81
#13: include_once(string)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/modules/main/include/urlrewrite.php:184
#14: include_once(string)
	/var/www/eko-bazar/data/www/eko-bazar.ru/bitrix/urlrewrite.php:2
----------