Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, null given in /home/swidnica/ftp/e-php82.2018.swidnica.zgora.pl/klasy/ObrazekMiniatura.php:207 Stack trace: #0 /home/swidnica/ftp/e-php82.2018.swidnica.zgora.pl/klasy/ObrazekMiniatura.php(207): imagecopyresampled(Object(GdImage), NULL, 0.0, 0.25000000000002, 0, 0, 870.0, 652.5, 1600, 1200) #1 /home/swidnica/ftp/e-php82.2018.swidnica.zgora.pl/mini.php(67): ObrazekMiniatura->generuj() #2 {main} thrown in /home/swidnica/ftp/e-php82.2018.swidnica.zgora.pl/klasy/ObrazekMiniatura.php on line 207