Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data in /var/www/html/classes/ImageManager.php on line 614
Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /var/www/html/classes/ImageManager.php on line 614
Warning: imagecreatefrompng(): "/var/www/html/img/p/5/7/8/6/5786.jpg" is not a valid PNG file in /var/www/html/classes/ImageManager.php on line 614
Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /var/www/html/classes/ImageManager.php:393
Stack trace:
#0 /var/www/html/classes/ImageManager.php(393): imagecopyresampled(Object(GdImage), false, 0, 0, 0, 0, 800, 800.0, 3000, 3000)
#1 /var/www/html/classes/ImageManager.php(327): ImageManagerCore::imagecopyresampled(Object(GdImage), false, 0, 0, 0, 0, 800, 800.0, 3000, 3000, 5)
#2 /var/www/html/src/Adapter/Image/ImageRetriever.php(326): ImageManagerCore::resize('/var/www/html/i...', '/var/www/html/i...', 800, 800, 'png', false)
#3 /var/www/html/src/Adapter/Image/ImageRetriever.php(240): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->checkOrGenerateImageType('/var/www/html/i...', '/var/www/html/i...', 5786, Array, 'jpg')
#4 /var/www/html/src/Adapter/Image/ImageRetriever.php(111): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->getImage(Object(Product), '5786')
#5 [internal function]: PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->PrestaShop\PrestaShop\Adapter\Image\{closure}(Array)
#6 /var/www/html/src/Adapter/Image/ImageRetriever.php(104): array_map(Object(Closure), Array)
#7 /var/www/html/src/Adapter/Presenter/Product/ProductLazyArray.php(688): PrestaShop\PrestaShop\Adapter\Image\ImageRetriever->getAllProductImages(Array, Object(Language))
#8 /var/www/html/src/Adapter/Presenter/Product/ProductLazyArray.php(127): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductLazyArray->fillImages(Array, Object(Language))
#9 /var/www/html/src/Adapter/Presenter/Product/ProductListingPresenter.php(57): 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 /var/www/html/classes/controller/ProductListingFrontController.php(119): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), Array, Object(Language))
#11 /var/www/html/classes/controller/ProductListingFrontController.php(379): ProductListingFrontControllerCore->prepareMultipleProductsForTemplate(Array)
#12 /var/www/html/classes/controller/ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#13 /var/www/html/controllers/front/listing/BestSalesController.php(63): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array)
#14 /var/www/html/classes/controller/Controller.php(319): BestSalesControllerCore->initContent()
#15 /var/www/html/classes/Dispatcher.php(510): ControllerCore->run()
#16 /var/www/html/index.php(28): DispatcherCore->dispatch()
#17 {main}
thrown in /var/www/html/classes/ImageManager.php on line 393