[TypeError] imagesx(): Argument #1 ($image) must be of type GdImage, null given (0) /home/bitrix/www/local/php_interface/SimpleImage.php:43 #0: imagesx(NULL) /home/bitrix/www/local/php_interface/SimpleImage.php:43 #1: SimpleImage->getWidth() /home/bitrix/www/local/php_interface/function_opt_redesign.php:129 #2: ResizeImageNewToClass(string, array, array) /home/bitrix/www/local/templates/retail_kawaii_19/components/bitrix/catalog.element/detail_page/template.php:149 #3: include(string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:790 #4: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string) /home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:885 #5: CBitrixComponentTemplate->IncludeTemplate(array) /home/bitrix/www/bitrix/modules/main/classes/general/component.php:776 #6: CBitrixComponent->showComponentTemplate() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:716 #7: CBitrixComponent->includeComponentTemplate() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4707 #8: Bitrix\Iblock\Component\Base->loadData() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4686 #9: Bitrix\Iblock\Component\Base->initialLoadAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/element.php:284 #10: Bitrix\Iblock\Component\Element->initialLoadAction() #11: call_user_func(array) /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4873 #12: Bitrix\Iblock\Component\Base->doAction() /home/bitrix/www/bitrix/modules/iblock/lib/component/base.php:4891 #13: Bitrix\Iblock\Component\Base->executeComponent() /home/bitrix/www/bitrix/modules/main/classes/general/component.php:660 #14: CBitrixComponent->includeComponent(string, array, boolean, boolean) /home/bitrix/www/bitrix/modules/main/classes/general/main.php:1072 #15: CAllMain->IncludeComponent(string, string, array, boolean) /home/bitrix/www/category/element.php:143 #16: include_once(string) /home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:184 #17: include_once(string) /home/bitrix/www/bitrix/urlrewrite.php:2 ----------