[TypeError] Argument 1 passed to Jamilco\Catalog\Offer\Offer::setColor() must be of the type string, null given, called in /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Offer/OfferRepository.php on line 189 (0) /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Offer/Offer.php:162 #0: Jamilco\Catalog\Offer\Offer->setColor /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Offer/OfferRepository.php:189 #1: Jamilco\Catalog\Offer\OfferRepository->buildOffer /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Offer/OfferRepository.php:140 #2: Jamilco\Catalog\Offer\OfferRepository->fetchInternal /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Offer/OfferRepository.php:87 #3: Jamilco\Catalog\Offer\OfferRepository->getByProductIds /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Product/ProductRepository.php:161 #4: Jamilco\Catalog\Product\ProductRepository->fetchOffers /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Product/ProductRepository.php:125 #5: Jamilco\Catalog\Product\ProductRepository->fetchInternal /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Product/ProductRepository.php:66 #6: Jamilco\Catalog\Product\ProductRepository->getByIds /var/www/stjames/new.stjames.ru/www/local/lib/Jamilco/Catalog/Product/ProductRepository.php:52 #7: Jamilco\Catalog\Product\ProductRepository->getById /var/www/stjames/new.stjames.ru/www/local/templates/StJames_10.2018/components/bitrix/catalog.element/ow/result_modifier.php:51 #8: include(string) /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component_template.php:946 #9: CBitrixComponentTemplate->__IncludeMutatorFile /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component_template.php:853 #10: CBitrixComponentTemplate->IncludeTemplate /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:764 #11: CBitrixComponent->showComponentTemplate /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:712 #12: CBitrixComponent->includeComponentTemplate /var/www/stjames/new.stjames.ru/www/bitrix/modules/iblock/lib/component/base.php:4560 #13: Bitrix\Iblock\Component\Base->loadData /var/www/stjames/new.stjames.ru/www/bitrix/modules/iblock/lib/component/base.php:4539 #14: Bitrix\Iblock\Component\Base->initialLoadAction /var/www/stjames/new.stjames.ru/www/bitrix/modules/iblock/lib/component/element.php:271 #15: Bitrix\Iblock\Component\Element->initialLoadAction #16: call_user_func /var/www/stjames/new.stjames.ru/www/bitrix/modules/iblock/lib/component/base.php:4724 #17: Bitrix\Iblock\Component\Base->doAction /var/www/stjames/new.stjames.ru/www/bitrix/modules/iblock/lib/component/base.php:4742 #18: Bitrix\Iblock\Component\Base->executeComponent /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:656 #19: CBitrixComponent->includeComponent /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/main.php:1039 #20: CAllMain->IncludeComponent /var/www/stjames/new.stjames.ru/www/local/templates/StJames_10.2018/components/bitrix/catalog/catalog/element.php:25 #21: include(string) /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component_template.php:789 #22: CBitrixComponentTemplate->__IncludePHPTemplate /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component_template.php:884 #23: CBitrixComponentTemplate->IncludeTemplate /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:764 #24: CBitrixComponent->showComponentTemplate /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:712 #25: CBitrixComponent->includeComponentTemplate /var/www/stjames/new.stjames.ru/www/bitrix/components/bitrix/catalog/component.php:171 #26: include(string) /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:605 #27: CBitrixComponent->__includeComponent /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/component.php:680 #28: CBitrixComponent->includeComponent /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/classes/general/main.php:1039 #29: CAllMain->IncludeComponent /var/www/stjames/new.stjames.ru/www/catalog/index.php:345 #30: include_once(string) /var/www/stjames/new.stjames.ru/www/bitrix/modules/main/include/urlrewrite.php:159 #31: include_once(string) /var/www/stjames/new.stjames.ru/www/bitrix/urlrewrite.php:2