Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /var/www/web29844984/html/twg/inc/imagefunctions.inc.php:305
Stack trace:
#0 /var/www/web29844984/html/twg/inc/imagefunctions.inc.php(305): imagecopyresampled(Object(GdImage), false, 0, 0, 0, 0, 722, 1024, 280, 160)
#1 /var/www/web29844984/html/twg/inc/imagecreate.inc.php(116): generatesmall('pictures/Sport/...', './cache/Sport_M...', 1024, 80, -1, 'pictures/Sport/...')
#2 /var/www/web29844984/html/twg/image.php(89): include('/var/www/web298...')
#3 {main}
thrown in /var/www/web29844984/html/twg/inc/imagefunctions.inc.php on line 305