PHP warning

imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: 20 extraneous bytes before marker 0xd6

/var/www/vhosts/muratgedik.com.tr/httpdocs/protected/extensions/easyimage/drivers/Image_GD.php(133)

121     /**
122      * Loads an image into GD.
123      *
124      * @return  void
125      */
126     protected function _load_image()
127     {
128         if (!is_resource($this->_image)) {
129             // Gets create function
130             $create = $this->_create_function;
131 
132             // Open the temporary image
133             $this->_image = $create($this->file);
134 
135             // Preserve transparency when saving
136             imagesavealpha($this->_image, TRUE);
137         }
138     }
139 
140     /**
141      * Execute a resize.
142      *
143      * @param   integer  $width   new width
144      * @param   integer  $height  new height
145      * @return  void

Stack Trace

#0
+
 /var/www/vhosts/muratgedik.com.tr/httpdocs/protected/extensions/easyimage/drivers/Image_GD.php(133): imagecreatefromjpeg("/var/www/vhosts/muratgedik.com.tr/httpdocs/images/press/13986960...")
128         if (!is_resource($this->_image)) {
129             // Gets create function
130             $create = $this->_create_function;
131 
132             // Open the temporary image
133             $this->_image = $create($this->file);
134 
135             // Preserve transparency when saving
136             imagesavealpha($this->_image, TRUE);
137         }
138     }
#1
+
 /var/www/vhosts/muratgedik.com.tr/httpdocs/protected/extensions/easyimage/drivers/Image_GD.php(154): Image_GD->_load_image()
149         // Presize width and height
150         $pre_width = $this->width;
151         $pre_height = $this->height;
152 
153         // Loads image if not yet loaded
154         $this->_load_image();
155 
156         // Test if we can do a resize without resampling to speed up the final resize
157         if ($width > ($this->width / 2) AND $height > ($this->height / 2)) {
158             // The maximum reduction is 10% greater than the final size
159             $reduction_width = round($width * 1.1);
#2
+
 /var/www/vhosts/muratgedik.com.tr/httpdocs/protected/extensions/easyimage/drivers/Image.php(235): Image_GD->_do_resize(500, 691)
230 
231         // Convert the width and height to integers, minimum value is 1px
232         $width = max(round($width), 1);
233         $height = max(round($height), 1);
234 
235         $this->_do_resize($width, $height);
236 
237         return $this;
238     }
239 
240     /**
2018-12-15 21:04:52 Apache Yii Framework/1.1.14