При добавлении к товару в качестве аксессуара 1 товар, на странице товара пропадает закладка "Описание", а на месте модуля "Аксессуары" появляется список ошибок (скрины 1-3 во вложении).
При этом если добавить 2 и более товаров в качестве аксессуаров, то все в порядке. Все на своем месте, все отображается как надо.
[TypeError]
count(): Argument #1 ($value) must be of type Countable|array, string given (0)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/local/templates/aspro_next/components/bitrix/catalog.e lement/main/template.php:1699
#0: count(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/local/templates/aspro_next/components/bitrix/catalog.e lement/main/template.php:1699
#1: include(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component_template .php:790
#2: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component_template .php:885
#3: CBitrixComponentTemplate->IncludeTemplate(array)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:784
#4: CBitrixComponent->showComponentTemplate()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:724
#5: CBitrixComponent->includeComponentTemplate()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4717
#6: Bitrix\Iblock\Component\Base->loadData()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4696
#7: Bitrix\Iblock\Component\Base->initialLoadAction()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/iblock/lib/component/element.php:283
#8: Bitrix\Iblock\Component\Element->initialLoadAction()
#9: call_user_func(array)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4884
#10: Bitrix\Iblock\Component\Base->doAction()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/iblock/lib/component/base.php:4902
#11: Bitrix\Iblock\Component\Base->executeComponent()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:668
#12: CBitrixComponent->includeComponent(string, array, object, boolean)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/main.php:1188
#13: CAllMain->IncludeComponent(string, string, array, object)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/m ain1/page_blocks/element_1.php:1
#14: include_once(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/m ain1/element_normal.php:81
#15: include_once(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/local/templates/aspro_next/components/bitrix/catalog/m ain1/element.php:148
#16: include(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component_template .php:790
#17: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component_template .php:885
#18: CBitrixComponentTemplate->IncludeTemplate(array)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:784
#19: CBitrixComponent->showComponentTemplate()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:724
#20: CBitrixComponent->includeComponentTemplate(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/components/bitrix/catalog/component.php:330
#21: include(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:615
#22: CBitrixComponent->__includeComponent()
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/component.php:692
#23: CBitrixComponent->includeComponent(string, array, boolean, boolean)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/classes/general/main.php:1188
#24: CAllMain->IncludeComponent(string, string, array, boolean)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/catalog/index.php:39
#25: include_once(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/modules/main/include/urlrewrite.php:128
#26: include_once(string)
/home/i/inetcmqw/cmk-furnitura.ru/public_html/bitrix/urlrewrite.php:2
----------