[Bitrix\Main\ArgumentException] Unknown type of primary "object" found when trying to query File row. (100) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/lib/orm/data/datamanager.php:655 #0: Bitrix\Main\ORM\Data\DataManager::validatePrimary(object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/lib/orm/data/datamanager.php:343 #1: Bitrix\Main\ORM\Data\DataManager::getByPrimary(object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/lib/orm/data/datamanager.php:376 #2: Bitrix\Main\ORM\Data\DataManager::getById(object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/file.php:468 #3: CAllFile::GetFromCache(object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/file.php:664 #4: CAllFile::GetFileArray(object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/file.php:1615 #5: CAllFile::ResizeImageGet(object, array, integer, boolean) /home/host1314187/ukkb.ru/htdocs/www/bitrix/templates/empty/components/bitrix/news/news-block/bitrix/news.detail/.default/template.php:55 #6: include(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component_template.php:789 #7: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component_template.php:884 #8: CBitrixComponentTemplate->IncludeTemplate(array) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:746 #9: CBitrixComponent->showComponentTemplate() /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:694 #10: CBitrixComponent->includeComponentTemplate() /home/host1314187/ukkb.ru/htdocs/www/bitrix/components/bitrix/news.detail/component.php:439 #11: include(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:605 #12: CBitrixComponent->__includeComponent() /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:664 #13: CBitrixComponent->includeComponent(string, array, object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/main.php:1039 #14: CAllMain->IncludeComponent(string, string, array, object) /home/host1314187/ukkb.ru/htdocs/www/bitrix/templates/empty/components/bitrix/news/news-block/detail.php:69 #15: include(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component_template.php:789 #16: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component_template.php:884 #17: CBitrixComponentTemplate->IncludeTemplate(array) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:746 #18: CBitrixComponent->showComponentTemplate() /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:694 #19: CBitrixComponent->includeComponentTemplate(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/components/bitrix/news/component.php:216 #20: include(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:605 #21: CBitrixComponent->__includeComponent() /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/component.php:664 #22: CBitrixComponent->includeComponent(string, array, NULL) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/classes/general/main.php:1039 #23: CAllMain->IncludeComponent(string, string, array) /home/host1314187/ukkb.ru/htdocs/www/o-kompanii/novosti/index.php:12 #24: include_once(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/modules/main/include/urlrewrite.php:159 #25: include_once(string) /home/host1314187/ukkb.ru/htdocs/www/bitrix/urlrewrite.php:2