[TypeError] 
Return value of PhotoOptimize::getOptimizedPicture() must be of the type string, null returned (0)
/home/b/budvforme/new.bud-v-forme.com/public_html/local/php_interface/photo_optimization.php:152
#0: PhotoOptimize->getOptimizedPicture(NULL, integer, integer, integer)
	/home/b/budvforme/new.bud-v-forme.com/public_html/local/templates/main/components/bitrix/catalog.element/.default/carousel.php:124
#1: require_once(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/local/templates/main/components/bitrix/catalog.element/.default/template.php:97
#2: include(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component_template.php:789
#3: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component_template.php:884
#4: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:764
#5: CBitrixComponent->showComponentTemplate()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:712
#6: CBitrixComponent->includeComponentTemplate()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/iblock/lib/component/base.php:4561
#7: Bitrix\Iblock\Component\Base->loadData()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/iblock/lib/component/base.php:4540
#8: Bitrix\Iblock\Component\Base->initialLoadAction()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/iblock/lib/component/element.php:271
#9: Bitrix\Iblock\Component\Element->initialLoadAction()
	
#10: call_user_func(array)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/iblock/lib/component/base.php:4725
#11: Bitrix\Iblock\Component\Base->doAction()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/iblock/lib/component/base.php:4743
#12: Bitrix\Iblock\Component\Base->executeComponent()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:656
#13: CBitrixComponent->includeComponent(string, array, object, boolean)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/main.php:1039
#14: CAllMain->IncludeComponent(string, string, array, object)
	/home/b/budvforme/new.bud-v-forme.com/public_html/local/templates/main/components/bitrix/catalog/structure/element.php:28
#15: include(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component_template.php:789
#16: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component_template.php:884
#17: CBitrixComponentTemplate->IncludeTemplate(array)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:764
#18: CBitrixComponent->showComponentTemplate()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:712
#19: CBitrixComponent->includeComponentTemplate(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/components/bitrix/catalog/component.php:171
#20: include(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:605
#21: CBitrixComponent->__includeComponent()
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/component.php:680
#22: CBitrixComponent->includeComponent(string, array, boolean, boolean)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/classes/general/main.php:1039
#23: CAllMain->IncludeComponent(string, string, array, boolean)
	/home/b/budvforme/new.bud-v-forme.com/public_html/index.php:162
#24: include_once(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/modules/main/include/urlrewrite.php:159
#25: include_once(string)
	/home/b/budvforme/new.bud-v-forme.com/public_html/bitrix/urlrewrite.php:2