Notice: Undefined index: image in /var/www/ on line 4

Notice: Undefined index: width in /var/www/ on line 7

Notice: Trying to access array offset on value of type bool in /var/www/ on line 40

Fatal error: Uncaught Exception: File is not an image, please use another file type. in /var/www/ Stack trace: #0 /var/www/ ResizeImage->setImage() #1 /var/www/ ResizeImage->__construct() #2 {main} thrown in /var/www/ on line 63