Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /home/tendapla/public_html/classes/ImageManager.php:393
Stack trace:
#0 /home/tendapla/public_html/classes/ImageManager.php(393): imagecopyresampled(Object(GdImage), false, 0, 0, 0, 0, 160, 160.0, 1000, 1000)
#1 /home/tendapla/public_html/classes/ImageManager.php(327): ImageManagerCore::imagecopyresampled(Object(GdImage), false, 0, 0, 0, 0, 160, 160.0, 1000, 1000, 5)
#2 /home/tendapla/public_html/src/Adapter/Image/ImageRetriever.php(325): ImageManagerCore::resize('/home/tendapla/...', '/home/tendapla/...', 160, 160, 'png', false)
#3 /home/tendapla/public_html/src/Adapter/Image/ImageRetriever.php(240): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->checkOrGenerateImageType('/home/tendapla/...', '/home/tendapla/...', 5073, Array, 'jpg')
#4 /home/tendapla/public_html/src/Adapter/Image/ImageRetriever.php(111): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->getImage(Object(Product), '5073')
#5 [internal function]: PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(Array)
#6 /home/tendapla/public_html/src/Adapter/Image/ImageRetriever.php(104): array_map(Object(Closure), Array)
#7 /home/tendapla/public_html/src/Adapter/Presenter/Product/ProductLazyArray.php(683): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->getAllProductImages(Array, Object(Language))
#8 /home/tendapla/public_html/src/Adapter/Presenter/Product/ProductLazyArray.php(126): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray->fillImages(Array, Object(Language))
#9 /home/tendapla/public_html/src/Adapter/Presenter/Product/ProductListingPresenter.php(49): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray->__construct(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language), Object(PrestaShop\PrestaShop\Adapter\Image\ImageRetriever), Object(Link), Object(PrestaShop\PrestaShop\Adapter\Product\PriceFormatter), Object(PrestaShop\PrestaShop\Adapter\Product\ProductColorsRetriever), Object(PrestaShopBundle\Translation\TranslatorComponent))
#10 /home/tendapla/public_html/modules/ps_categoryproducts/ps_categoryproducts.php(332): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#11 /home/tendapla/public_html/modules/ps_categoryproducts/ps_categoryproducts.php(217): Ps_Categoryproducts->getCategoryProducts(937, 13)
#12 /home/tendapla/public_html/modules/ps_categoryproducts/ps_categoryproducts.php(245): Ps_Categoryproducts->getWidgetVariables('displayFooterPr...', Array)
#13 /home/tendapla/public_html/classes/Hook.php(1094): Ps_Categoryproducts->renderWidget('displayFooterPr...', Array)
#14 /home/tendapla/public_html/classes/Hook.php(1025): HookCore::coreRenderWidget(Object(Ps_Categoryproducts), 'displayFooterPr...', Array)
#15 /home/tendapla/public_html/config/smarty.config.inc.php(201): HookCore::exec('displayFooterPr...', Array, NULL)
#16 /home/tendapla/public_html/classes/Smarty/SmartyLazyRegister.php(81): smartyHook(Array, Object(SmartyDevTemplate))
#17 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/05/ac/c4/05acc42f0288d1cdedc12adf0c90d0558170eef5_2.file.product.tpl.php(193): SmartyLazyRegister->__call('smartyHook', Array)
#18 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_6645008996940830fca88f2_69717870->callBlock(Object(SmartyDevTemplate))
#19 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_6645008996940830fca88f2_69717870), Object(SmartyDevTemplate))
#20 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_6645008996940830fca88f2_69717870))
#21 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/05/ac/c4/05acc42f0288d1cdedc12adf0c90d0558170eef5_2.file.product.tpl.php(302): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_664500899...', 'product_footer', 0)
#22 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_18987738316940830fc98102_96338631->callBlock(Object(SmartyDevTemplate))
#23 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_18987738316940830fc98102_96338631), Object(SmartyDevTemplate))
#24 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_18987738316940830fc98102_96338631), Object(Block_11486708456940830fcb1694_35569761))
#25 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_11486708456940830fcb1694_35569761))
#26 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/17/95/77/179577577d1c8353b1425fbbea4369c496f63088_2.file.layout-full-width.tpl.php(103): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_114867084...', 'content', 1)
#27 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_19108320916940830fcb0da2_36018326->callBlock(Object(SmartyDevTemplate))
#28 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(184): Smarty_Internal_Runtime_Inheritance->callBlock(Object(Block_19108320916940830fcb0da2_36018326), Object(SmartyDevTemplate))
#29 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(186): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_19108320916940830fcb0da2_36018326), Object(Block_17150440106940830fccbcf9_83633258))
#30 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(156): Smarty_Internal_Runtime_Inheritance->process(Object(SmartyDevTemplate), Object(Block_17150440106940830fccbcf9_83633258))
#31 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/a2/bf/6d/a2bf6d9294bff0c31c369adb7616670add98c191_2.file.layout-both-columns.tpl.php(145): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_171504401...', 'content_wrapper')
#32 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6940830fcd0d40_71116019(Object(SmartyDevTemplate))
#33 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#34 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#35 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#36 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'PRS210502_Class...', 0, 3600, Array, 2, false, NULL, NULL)
#37 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/17/95/77/179577577d1c8353b1425fbbea4369c496f63088_2.file.layout-full-width.tpl.php(42): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#38 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6940830fcb20a3_27796873(Object(SmartyDevTemplate))
#39 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#40 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#41 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render()
#42 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(115): Smarty_Internal_Template->_subTemplateRender('layouts/layout-...', NULL, 'PRS210502_Class...', 0, 3600, Array, 2, false, NULL, NULL)
#43 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/05/ac/c4/05acc42f0288d1cdedc12adf0c90d0558170eef5_2.file.product.tpl.php(47): Smarty_Internal_Runtime_Inheritance->endChild(Object(SmartyDevTemplate), 'layouts/layout-...')
#44 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_6940830fcaa3b5_69877637(Object(SmartyDevTemplate))
#45 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(SmartyDevTemplate))
#46 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render(Object(SmartyDevTemplate))
#47 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render(false, 0)
#48 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(SmartyDevTemplate), NULL, 'PRS210502_Class...', NULL, 0)
#49 /home/tendapla/public_html/classes/Smarty/SmartyDev.php(40): Smarty_Internal_TemplateBase->fetch('catalog/product...', NULL, 'PRS210502_Class...', NULL)
#50 /home/tendapla/public_html/classes/controller/FrontController.php(771): SmartyDev->fetch('catalog/product...', NULL, 'PRS210502_Class...')
#51 /home/tendapla/public_html/classes/controller/FrontController.php(753): FrontControllerCore->smartyOutputContent('catalog/product...')
#52 /home/tendapla/public_html/classes/controller/Controller.php(339): FrontControllerCore->display()
#53 /home/tendapla/public_html/classes/Dispatcher.php(510): ControllerCore->run()
#54 /home/tendapla/public_html/index.php(28): DispatcherCore->dispatch()
#55 {main}
thrown in /home/tendapla/public_html/classes/ImageManager.php on line 393