Title: doesn&#8217;t work
Last modified: May 21, 2019

---

# doesn’t work

 *  [robertshippey](https://wordpress.org/support/users/robertshippey/)
 * (@robertshippey)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-2154/)
 * Hi,
 * Our client is uploading images to the site with the WordPress app from their 
   iPhone, and this plugin isn’t doing anything to fix the rotation issue. Please
   help.
 * Site details:
 *     ```
       ### wp-core ###
   
       version: 5.2
       site_language: en_US
       user_language: en_US
       permalink: /%postname%/
       https_status: false
       user_registration: 0
       default_comment_status: closed
       multisite: false
       user_count: 2
       dotorg_communication: true
   
       ### wp-paths-sizes ###
   
       wordpress_path: /home/sites/js-interiors.co.uk/public_html
       wordpress_size: 46.33 MB (48584072 bytes)
       uploads_path: /home/sites/js-interiors.co.uk/public_html/wp-content/uploads
       uploads_size: 290.65 MB (304767239 bytes)
       themes_path: /home/sites/js-interiors.co.uk/public_html/wp-content/themes
       themes_size: 3.09 MB (3240959 bytes)
       plugins_path: /home/sites/js-interiors.co.uk/public_html/wp-content/plugins
       plugins_size: 42.66 MB (44736501 bytes)
       database_size: 10.48 MB (10993664 bytes)
       total_size: 393.22 MB (412322435 bytes)
   
       ### wp-active-theme ###
   
       name: Elementor Hello Theme
       version: 1.0
       author: Elementor Team
       author_website: https://elementor.com
       parent_theme: none
       theme_features: menus, post-thumbnails, automatic-feed-links, title-tag, html5, custom-logo, woocommerce
       theme_path: /home/sites/js-interiors.co.uk/public_html/wp-content/themes/elementor-hello-theme-master
   
       ### wp-themes (3) ###
   
       Twenty Nineteen: version: 1.3, author: the WordPress team (latest version: 1.4)
       Twenty Seventeen: version: 2.1, author: the WordPress team (latest version: 2.2)
       Twenty Sixteen: version: 1.9, author: the WordPress team (latest version: 2.0)
   
       ### wp-plugins-active (10) ###
   
       Analytics Cat Free: version: 1.0.4, author: Fatcat Apps
       Custom Post Type UI: version: 1.6.2, author: WebDevStudios
       Elementor: version: 2.5.15, author: Elementor.com
       Elementor Pro: version: 2.5.8, author: Elementor.com
       Fix Image Rotation: version: 2.2.1, author: Gagan Deep Singh
       Imsanity: version: 2.4.2, author: Exactly WWW
       iThemes Security: version: 7.3.3, author: iThemes
       Lenix Elementor Leads addon: version: 1.6.2, author: Lenix
       Wordfence Security: version: 7.3.2, author: Wordfence
       Yoast SEO: version: 11.2.1, author: Team Yoast
   
       ### wp-media ###
   
       image_editor: WP_Image_Editor_GD
       imagick_module_version: Not available
       imagemagick_version: Not available
       gd_version: 2.1.1
       ghostscript_version: 8.70
   
       ### wp-server ###
   
       server_architecture: Linux 2.6.32-754.12.1.el6.x86_64 x86_64
       httpd_software: Apache/2.4.39 (Unix)
       php_version: 7.0.33 64bit
       php_sapi: cgi-fcgi
       max_input_variables: 1000
       time_limit: 30
       memory_limit: 256M
       max_input_time: 60
       upload_max_size: 64M
       php_post_max_size: 8M
       curl_version: 7.19.7 NSS/3.27.1
       suhosin: false
       imagick_availability: false
       htaccess_extra_rules: true
   
       ### wp-database ###
   
       extension: mysqli
       server_version: 5.5.5-10.1.27-MariaDB
       client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
   
       ### wp-constants ###
   
       WP_HOME: undefined
       WP_SITEURL: undefined
       WP_CONTENT_DIR: /home/sites/js-interiors.co.uk/public_html/wp-content
       WP_PLUGIN_DIR: /home/sites/js-interiors.co.uk/public_html/wp-content/plugins
       WP_MAX_MEMORY_LIMIT: 256M
       WP_DEBUG: false
       WP_DEBUG_DISPLAY: true
       WP_DEBUG_LOG: false
       SCRIPT_DEBUG: false
       WP_CACHE: false
       CONCATENATE_SCRIPTS: undefined
       COMPRESS_SCRIPTS: undefined
       COMPRESS_CSS: undefined
       WP_LOCAL_DEV: undefined
   
       ### wp-filesystem ###
   
       wordpress: writable
       wp-content: writable
       uploads: writable
       plugins: writable
       themes: writable
       ```
   

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

 *  Plugin Author [Gagan Deep Singh](https://wordpress.org/support/users/gagan0123/)
 * (@gagan0123)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-2154/#post-11573854)
 * [@robertshippey](https://wordpress.org/support/users/robertshippey/)
 * Thanks for reporting the issue with detailed info on what the system is running(
   helps a lot while debugging).
 * I haven’t tested this plugin with the iPhone app, but I think I’ll be able to,
   using simulator, or with an android phone.
 * Can you try using the browser based uploader and see if that works or not?
 *  Thread Starter [robertshippey](https://wordpress.org/support/users/robertshippey/)
 * (@robertshippey)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-2154/#post-11580655)
 * Hi there,
 * Thanks for your reply.
 * I’ve just uploaded a portrait and landscape image to the wite using the browser
   based uploader and this doesn’t appear to have worked either:
 * Portrait, wrong orientation: [http://www.js-interiors.co.uk/wp-content/uploads/2019/05/IMG_2591.jpg](http://www.js-interiors.co.uk/wp-content/uploads/2019/05/IMG_2591.jpg)
   
   Landscape: [http://www.js-interiors.co.uk/wp-content/uploads/2019/05/IMG_2590.jpg](http://www.js-interiors.co.uk/wp-content/uploads/2019/05/IMG_2590.jpg)
 * I didn’t think to test with the browser based uploader as the client only uses
   the iPhone app, so thanks for prompting to test that too.
 * I’ve just checked the server error logs and found the following. I’m not sure
   what it means:
 *     ```
       26169 [Tue May 28 16:27:59 2019] [error] [client redacted:0] PHP Warning:  exif_read_data(phpHInZVg): Illegal IFD size in /home/sites/js-interiors.co.uk/public_html/wp-content/plugins/fix-image-rotation/includes/class-fix-image-rotation.php on line 193 
       26167 [Tue May 28 16:27:59 2019] [error] [client redacted:0] PHP Warning:  exif_read_data(IMG_2590.jpg): Illegal IFD size in /home/sites/js-interiors.co.uk/public_html/wp-content/plugins/fix-image-rotation/includes/class-fix-image-rotation.php on line 193 
       26195 [Tue May 28 16:28:02 2019] [error] [client redacted:0] PHP Warning:  exif_read_data(phprpqaYR): Illegal IFD size in /home/sites/js-interiors.co.uk/public_html/wp-content/plugins/fix-image-rotation/includes/class-fix-image-rotation.php on line 193 
       26186 [Tue May 28 16:28:02 2019] [error] [client redacted:0] PHP Warning:  exif_read_data(IMG_2591.jpg): Illegal IFD size in /home/sites/js-interiors.co.uk/public_html/wp-content/plugins/fix-image-rotation/includes/class-fix-image-rotation.php on line 193 
       ```
   
 *  Plugin Author [Gagan Deep Singh](https://wordpress.org/support/users/gagan0123/)
 * (@gagan0123)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/doesnt-work-2154/#post-11580694)
 * [@robertshippey](https://wordpress.org/support/users/robertshippey/)
 * Thats awesome. It’s a known bug with PHP.
 * I’ll write error handing for it by putting the code in try catch and showing 
   a warning on affected PHP versions but before that, I’ll first figure out which
   PHP version you’ll need to be on for it to work properly.
 * I know latest PHP versions have patched this but moving directly to the latest
   version might cause issues with the site as not all the code would be optimised
   for it.
 * Here’s what I had on my watch list for sometime
    [https://bugs.php.net/bug.php?id=74428](https://bugs.php.net/bug.php?id=74428)
   and it was resolved in [http://git.php.net/?p=php-src.git;a=commit;h=900ce92c9af9ad8616a4a698e5ffd2a957c1f547](http://git.php.net/?p=php-src.git;a=commit;h=900ce92c9af9ad8616a4a698e5ffd2a957c1f547)
 *  Thread Starter [robertshippey](https://wordpress.org/support/users/robertshippey/)
 * (@robertshippey)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-2154/#post-11660558)
 * [@gagan0123](https://wordpress.org/support/users/gagan0123/)
 * Any progress on adding error handling, or on which PHP version I need to switch
   to please?
 * Thanks in advance.

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

 The topic ‘doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/fix-image-rotation/assets/icon-256x256.png?rev=1718626)
 * [Fix Image Rotation](https://wordpress.org/plugins/fix-image-rotation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fix-image-rotation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fix-image-rotation/)
 * [Active Topics](https://wordpress.org/support/plugin/fix-image-rotation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fix-image-rotation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fix-image-rotation/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [robertshippey](https://wordpress.org/support/users/robertshippey/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/doesnt-work-2154/#post-11660558)
 * Status: not resolved