E_WARNING: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x20 0x20 in /home/sabzgostar/public_html/App/AppController.php on line 127
E_WARNING: imagecreatefromjpeg(): "http://arzan20.ir/public/images/products/4226/gallery/large/1608810680.jpg" is not a valid JPEG file in /home/sabzgostar/public_html/App/AppController.php on line 127
E_ERROR: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /home/sabzgostar/public_html/App/AppController.php:145
Stack trace:
#0 /home/sabzgostar/public_html/App/AppController.php(145): imagecopyresampled(Object(GdImage), false, 0, 0, 0, 0, 150, 150, NULL, NULL)
#1 /home/sabzgostar/public_html/App/Shop/Controller/PublicController.php(157): App\AppController->_create_thumbnail('http://arzan20....', 'public/images/p...', 150, 150)
#2 [internal function]: App\Shop\Controller\PublicController->product('4226', '-PRADA-Aytash(-...')
#3 /home/sabzgostar/public_html/Core/App.php(194): call_user_func_array(Array, Array)
#4 /home/sabzgostar/public_html/Core/App.php(29): Core\App->initPlugin('Shop', 'Public', 'product', Array)
#5 /home/sabzgostar/public_html/index.php(19): Core\App->__construct('Shop/product/42...')
#6 {main}
thrown in /home/sabzgostar/public_html/App/AppController.php on line 145