Элемент не найден
[TypeError] Library\Catalog\Element\CatalogElementHelper::getRelatedProductsSectionProxy(): Argument #1 ($elementProduct) must be of type Bitrix\Iblock\EO_Element, null given, called in /home/c/cd33873/public_html/local/library/catalog/lib/element/catalogelementhelper.php on line 98 (0) /home/c/cd33873/public_html/local/library/catalog/lib/element/catalogelementhelper.php:216 #0: Library\Catalog\Element\CatalogElementHelper::getRelatedProductsSectionProxy(NULL) /home/c/cd33873/public_html/local/library/catalog/lib/element/catalogelementhelper.php:98 #1: Library\Catalog\Element\CatalogElementHelper::getRelatedProductsSection(integer) /home/c/cd33873/public_html/local/library/catalog/lib/element/catalogelementhelper.php:61 #2: Library\Catalog\Element\CatalogElementHelper::getFilterRelatedProduct(boolean) /home/c/cd33873/public_html/local/templates/metall_main/components/bitrix/catalog/custom-cat/element.php:140 #3: include(string) /home/c/cd33873/public_html/bitrix/modules/main/classes/general/component_template.php:790 #4: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/c/cd33873/public_html/bitrix/modules/main/classes/general/component_template.php:885 #5: CBitrixComponentTemplate->IncludeTemplate(array) /home/c/cd33873/public_html/bitrix/modules/main/classes/general/component.php:784 #6: CBitrixComponent->showComponentTemplate() /home/c/cd33873/public_html/bitrix/modules/main/classes/general/component.php:724 #7: CBitrixComponent->includeComponentTemplate(string) /home/c/cd33873/public_html/bitrix/components/bitrix/catalog/component.php:323 #8: include(string) /home/c/cd33873/public_html/bitrix/modules/main/classes/general/component.php:615 #9: CBitrixComponent->__includeComponent() /home/c/cd33873/public_html/bitrix/modules/main/classes/general/component.php:692 #10: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/c/cd33873/public_html/bitrix/modules/main/classes/general/main.php:1072 #11: CAllMain->IncludeComponent(string, string, array, boolean) /home/c/cd33873/public_html/catalog/index.php:415 #12: include_once(string) /home/c/cd33873/public_html/bitrix/modules/main/include/urlrewrite.php:184 #13: include_once(string) /home/c/cd33873/public_html/bitrix/urlrewrite.php:2 ----------