Warning: imagecreatefromjpeg(): gd-jpeg: JPEG library reports unrecoverable error: Not a JPEG file: starts with 0x52 0x49 in /home/nfo/prog/_/img.php on line 181

Warning: imagecreatefromjpeg(): "img/newsnet_219064_1b3e4d.jpg" is not a valid JPEG file in /home/nfo/prog/_/img.php on line 181

Fatal error: Uncaught TypeError: imagecopyresampled(): Argument #2 ($src_image) must be of type GdImage, bool given in /home/nfo/prog/_/img.php:183 Stack trace: #0 /home/nfo/prog/_/img.php(183): imagecopyresampled() #1 /home/nfo/prog/_/img.php(125): img::build() #2 /home/nfo/prog/a/art.php(312): img::build_thumb() #3 /home/nfo/prog/a/art.php(322): art::make_thumb_css() #4 /home/nfo/prog/a/art.php(387): art::prepare_thumb() #5 /home/nfo/prog/a/art.php(400): art::build() #6 /home/nfo/prog/a/api.php(287): art::call() #7 /home/nfo/prog/a/api.php(332): api::build() #8 /home/nfo/prog/a/api.php(318): api::callr() #9 /home/nfo/prog/a/mod.php(174): api::load() #10 /home/nfo/prog/a/mod.php(139): mod::build() #11 /home/nfo/prog/a/mod.php(146): mod::block() #12 /home/nfo/prog/sys.php(42): mod::blocks() #13 /home/nfo/index.php(14): require('...') #14 {main} thrown in /home/nfo/prog/_/img.php on line 183