Getting error imagecopyresampled(): on uploading images sometimes

08.07.2023 23:37
#1
m3n5ch
Joomshopping forum user no avatar
Name: Jürgen
01.05.2022
Posts: 1
Quote
Getting error imagecopyresampled(): on uploading images sometimes

Hey I'm getting sometimes this error when uploading new images for an article, leading into an error page. Can someone tell me what is causing this?
Thanks in advance.

2023-07-08T10:14:09+00:00 CRITICAL 37.24.128.87 error Uncaught Throwable of type TypeError thrown with message "imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given". Stack trace: #0 [ROOT]\components\com_jshopping\Lib\ImageLib.php(263): imagecopyresampled()
#1 [ROOT]\administrator\components\com_jshopping\Model\ProductsModel.php(636): Joomla\Component\Jshopping\Site\Lib\ImageLib::resizeImageMagic()
#2 [ROOT]\administrator\components\com_jshopping\Model\ProductsModel.php(346): Joomla\Component\Jshopping\Administrator\Model\ProductsModel->uploadImages()
#3 [ROOT]\administrator\components\com_jshopping\Controller\ProductsController.php(402): Joomla\Component\Jshopping\Administrator\Model\ProductsModel->save()
#4 [ROOT]\libraries\src\MVC\Controller\BaseController.php(678): Joomla\Component\Jshopping\Administrator\Controller\ProductsController->save()
#5 [ROOT]\libraries\src\Dispatcher\ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute()
#6 [ROOT]\administrator\components\com_jshopping\Dispatcher\Dispatcher.php(27): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#7 [ROOT]\libraries\src\Component\ComponentHelper.php(361): Joomla\Component\Jshopping\Administrator\Dispatcher\Dispatcher->dispatch()
#8 [ROOT]\libraries\src\Application\AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent()
#9 [ROOT]\libraries\src\Application\AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#10 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\AdministratorApplication->doExecute()
#11 [ROOT]\administrator\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#12 [ROOT]\administrator\index.php(32): require_once('...')
#13 {main}
2023-07-08T10:12:59+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:12:59+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:12:59+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:12:59+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:13:23+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:13:23+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:13:23+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:13:23+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:13:28+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:13:28+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:13:28+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:09+00:00 CRITICAL 66.249.66.6 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Seite nicht gefunden". Stack trace: #0 [ROOT]\libraries\src\Application\SiteApplication.php(746): Joomla\CMS\Router\Router->parse()
#1 [ROOT]\libraries\src\Application\SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('...')
#5 {main}
2023-07-08T10:14:09+00:00 CRITICAL 37.24.128.87 error Uncaught Throwable of type TypeError thrown with message "imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given". Stack trace: #0 [ROOT]\components\com_jshopping\Lib\ImageLib.php(263): imagecopyresampled()
#1 [ROOT]\administrator\components\com_jshopping\Model\ProductsModel.php(636): Joomla\Component\Jshopping\Site\Lib\ImageLib::resizeImageMagic()
#2 [ROOT]\administrator\components\com_jshopping\Model\ProductsModel.php(346): Joomla\Component\Jshopping\Administrator\Model\ProductsModel->uploadImages()
#3 [ROOT]\administrator\components\com_jshopping\Controller\ProductsController.php(402): Joomla\Component\Jshopping\Administrator\Model\ProductsModel->save()
#4 [ROOT]\libraries\src\MVC\Controller\BaseController.php(678): Joomla\Component\Jshopping\Administrator\Controller\ProductsController->save()
#5 [ROOT]\libraries\src\Dispatcher\ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute()
#6 [ROOT]\administrator\components\com_jshopping\Dispatcher\Dispatcher.php(27): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#7 [ROOT]\libraries\src\Component\ComponentHelper.php(361): Joomla\Component\Jshopping\Administrator\Dispatcher\Dispatcher->dispatch()
#8 [ROOT]\libraries\src\Application\AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent()
#9 [ROOT]\libraries\src\Application\AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#10 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\AdministratorApplication->doExecute()
#11 [ROOT]\administrator\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#12 [ROOT]\administrator\index.php(32): require_once('...')
#13 {main}
2023-07-08T10:14:09+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:09+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:09+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:09+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:14:13+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:13+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:13+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:13+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:14:18+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:18+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:18+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:18+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:14:27+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:27+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:27+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:27+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:14:52+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:52+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:52+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:55+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:55+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:55+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1
2023-07-08T10:14:55+00:00 WARNING 37.24.128.87 assets No asset found for com_associations, falling back to root.1
2023-07-08T10:14:59+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:59+00:00 WARNING 37.24.128.87 assets No asset found for com_guidedtours, falling back to root.1
2023-07-08T10:14:59+00:00 WARNING 37.24.128.87 assets No asset found for com_categories, falling back to root.1


Joomla: 4.3.2
JoomShopping: 5.2.0
PHP: 8.1.20
MySQL: MariaDB 10.6
Website Url: luxusuhrenpforzheim.de
 
10.07.2023 07:46
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25941
Quote
Aw: Getting error imagecopyresampled(): on uploading images sometimes

image example?

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.