Title: Errors when uploading images
Last modified: September 1, 2016

---

# Errors when uploading images

 *  [dahlsdatatahira](https://wordpress.org/support/users/dahlsdatatahira/)
 * (@dahlsdatatahira)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/errors-when-uploading-images/)
 * Hi,
 * I am using your plugin and when uploading images I am getting these errors:
 * Warning: imagejpeg() expects parameter 1 to be resource, boolean given in/home/
   tottewrx/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-fixer.
   php on line 89
 * Warning: imagejpeg() expects parameter 1 to be resource, boolean given in/home/
   tottewrx/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-fixer.
   php on line 89
 * Warning: imagejpeg() expects parameter 1 to be resource, boolean given in/home/
   tottewrx/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-fixer.
   php on line 89
 * Warning: imagecreatefromjpeg(): gd-jpeg, libjpeg: recoverable error: Invalid 
   SOS parameters for sequential JPEG in/home/tottewrx/public_html/wp-content/plugins/
   image-rotation-fixer/image-rotation-fixer.php on line 52
 * Warning: imagecreatefromjpeg(): ‘/home/tottewrx/public_html//wp-content/uploads/
   2016/06/2016-06-22_576a4a4a7352d_20160521_191450.jpg’ is not a valid JPEG file
   in/home/tottewrx/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-
   fixer.php on line 52
 * Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given
   in /home/tottewrx/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-
   fixer.php on line 56
 * Warning: imagejpeg() expects parameter 1 to be resource, boolean given in/home/
   tottewrx/public_html/wp-content/plugins/image-rotation-fixer/image-rotation-fixer.
   php on line 89
 * How can I fix this?
 * Thanks!
 * [https://wordpress.org/plugins/image-rotation-fixer/](https://wordpress.org/plugins/image-rotation-fixer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-when-uploading-images/#post-8173594)
 * I am running WP 4.6.1 and version 1.0 of this plugin, and I get a single error
   in debug.log when I upload an image:
 * > [12-Sep-2016 14:09:45 UTC] PHP Warning: imagejpeg() expects parameter 1 to 
   > be resource, boolean given in /nasa/content/live/adfkhtrge4nc/wp-content/plugins/
   > image-rotation-fixer/image-rotation-fixer.php on line 89
 * Did you find a fix or another plugin that’s working?
 *  [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * (@salzano)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/errors-when-uploading-images/#post-8174203)
 * I found another plugin, Image Rotation Repair, that works for me.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors when uploading images’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/image-rotation-fixer_cccccc.svg)
 * [Image Rotation Fixer](https://wordpress.org/plugins/image-rotation-fixer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-rotation-fixer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-rotation-fixer/)
 * [Active Topics](https://wordpress.org/support/plugin/image-rotation-fixer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-rotation-fixer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-rotation-fixer/reviews/)

## Tags

 * [Fixer](https://wordpress.org/support/topic-tag/fixer/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [rotation](https://wordpress.org/support/topic-tag/rotation/)

 * 2 replies
 * 2 participants
 * Last reply from: [Corey Salzano](https://wordpress.org/support/users/salzano/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/errors-when-uploading-images/#post-8174203)
 * Status: not resolved