Hey guys,
I’m getting this error on my Prestashop website.
The function is surposed to optimise images on my website and resave them into their current directories.
Fatal error: Uncaught exception 'Exception' with message 'Unable to save image: 1' in /home/diysecur/public_html/modules/prestaspeed/SimpleImage.php:905 Stack trace: #0 /home/diysecur/public_html/modules/prestaspeed/prestaspeed.php(315): abeautifulsite\SimpleImage->save(1, 100) #1 /home/diysecur/public_html/modules/prestaspeed/prestaspeed.php(523): PrestaSpeed->smushallgd('../img/p/', '\n\t \t<div class=...') #2 /home/diysecur/public_html/modules/prestaspeed/prestaspeed.php(3287): PrestaSpeed->postProcess() #3 /home/diysecur/public_html/controllers/admin/AdminModulesController.php(846): PrestaSpeed->getContent() #4 /home/diysecur/public_html/controllers/admin/AdminModulesController.php(1094): AdminModulesControllerCore->postProcessCallback() #5 /home/diysecur/public_html/classes/controller/Controller.php(171): AdminModulesControllerCore->postProcess() #6 /home/diysecur/public_html/classes/Dispatcher.php(373): ControllerCore->run() #7 /home/diysecur/public_html/admin123/index.php(54): DispatcherCore->dispatch() #8 {main} in /home/diysecur/public_html/modules/prestaspeed/SimpleImage.php on line 905
[PrestaShop] Fatal error in module file :/home/diysecur/public_html/modules/prestaspeed/SimpleImage.php:
Uncaught exception 'Exception' with message 'Unable to save image: 1' in /home/diysecur/public_html/modules/prestaspeed/SimpleImage.php:905 Stack trace: #0 /home/diysecur/public_html/modules/prestaspeed/prestaspeed.php(315): abeautifulsite\SimpleImage->save(1, 100) #1 /home/diysecur/public_html/modules/prestaspeed/prestaspeed.php(523): PrestaSpeed->smushallgd('../img/p/', '\n\t \t
postProcess() #3 /home/diysecur/public_html/controllers/admin/AdminModulesController.php(846): PrestaSpeed->getContent() #4 /home/diysecur/public_html/controllers/admin/AdminModulesController.php(1094): AdminModulesControllerCore->postProcessCallback() #5 /home/diysecur/public_html/classes/controller/Controller.php(171): AdminModulesControllerCore->postProcess() #6 /home/diysecur/public_html/classes/Dispatcher.php(373): ControllerCore->run() #7 /home/diysecur/public_html/admin123/index.php(54): DispatcherCore->dispatch() #8 {main}