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/...', 6912, Array, 'jpg')
#4 /home/tendapla/public_html/src/Adapter/Image/ImageRetriever.php(111): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->getImage(Object(Product), '6912')
#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(2338, 10)
#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/32/28/fa/3228fab0901ec77fdf29d5febfa1d759b674d689_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_750648484694082d2ef0aa2_72321335->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_750648484694082d2ef0aa2_72321335), 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_750648484694082d2ef0aa2_72321335))
#21 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/32/28/fa/3228fab0901ec77fdf29d5febfa1d759b674d689_2.file.product.tpl.php(302): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_750648484...', 'product_footer', 0)
#22 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1394177364694082d2ee01c3_03747381->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_1394177364694082d2ee01c3_03747381), 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_1394177364694082d2ee01c3_03747381), Object(Block_1868404376694082d2efa095_25593669))
#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_1868404376694082d2efa095_25593669))
#26 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/a6/02/a9/a602a98f97210873d50e33ff82cc1be38114702a_2.file.layout-full-width.tpl.php(103): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_186840437...', 'content', 1)
#27 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php(248): Block_1458718464694082d2ef9796_55295140->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_1458718464694082d2ef9796_55295140), 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_1458718464694082d2ef9796_55295140), Object(Block_733540489694082d2f14df6_55323412))
#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_733540489694082d2f14df6_55323412))
#31 /home/tendapla/public_html/var/cache/dev/smarty/compile/PRS210502_Classyshoplayouts_layout_full_width_tpl/82/de/e9/82dee908d84710c51b3b36cd888210e25421ef30_2.file.layout-both-columns.tpl.php(145): Smarty_Internal_Runtime_Inheritance->instanceBlock(Object(SmartyDevTemplate), 'Block_733540489...', 'content_wrapper')
#32 /home/tendapla/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_694082d2f19c26_49557693(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/a6/02/a9/a602a98f97210873d50e33ff82cc1be38114702a_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_694082d2efa935_49869519(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/32/28/fa/3228fab0901ec77fdf29d5febfa1d759b674d689_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_694082d2ef22f6_62540593(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