Title: PHP Warning: exif_read_data
Last modified: August 9, 2021

---

# PHP Warning: exif_read_data

 *  [adrenalin3](https://wordpress.org/support/users/adrenalin3/)
 * (@adrenalin3)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-exif_read_data/)
 * Hi guys,
    in debug.log still back this error and don’t know how to fix it and
   what is wrong
 * [08-Aug-2021 05:23:13 UTC] PHP Warning: exif_read_data(Power-Firm-QMS.jpg): Incorrect
   APP1 Exif Identifier Code in /home/klient.dhosting.pl/forspa/qmsmedicosmetics.
   pl/public_html/wp-admin/includes/image.php on line 805
 * Thank you for help.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-exif_read_data%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-exif_read_data/#post-14749329)
 * The warning message could be caused by one of three things:
 * 1) Corrupted/unsupported EXIF data in the `Power-Firm-QMS.jpg` file
    2) Malicious
   EXIF data in the `Power-Firm-QMS.jpg` file 3) A bug in the PHP EXIF extension(
   could be related to both of the above)
 * Since this is a one-time occurrence, there is no way to determine which of the
   above three is the cause. I suggest using an external application to strip the
   EXIF data from the image, then updating the image on your WP site with the cleansed
   version.
 * You should also document the text of the warning, and the source of the image,
   in the event you encounter an `exif_read_data()` warning in the future. This 
   information may help you determine the cause of the new warning message.
 *  Thread Starter [adrenalin3](https://wordpress.org/support/users/adrenalin3/)
 * (@adrenalin3)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-warning-exif_read_data/#post-14751839)
 * Today upload one more time this files by creating it brand new in photoshop. 
   After upload come the same warnings. Here is the full debug.log – [https://we.tl/t-03jOh0LZO1](https://we.tl/t-03jOh0LZO1)
 *  [Ulrich](https://wordpress.org/support/users/grapplerulrich/)
 * (@grapplerulrich)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/php-warning-exif_read_data/#post-15259067)
 * Here is the related trac ticket. [https://core.trac.wordpress.org/ticket/42480](https://core.trac.wordpress.org/ticket/42480)
 * The warning is only shown if the debug mode is enabled [https://github.com/WordPress/WordPress/blob/5.8-branch/wp-admin/includes/image.php#L805](https://github.com/WordPress/WordPress/blob/5.8-branch/wp-admin/includes/image.php#L805)
 * I am not sure what you can do in Photoshop to fix this.
 *  [letterafterz](https://wordpress.org/support/users/letterafterz/)
 * (@letterafterz)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-exif_read_data/#post-15658746)
 * [@grapplerulrich](https://wordpress.org/support/users/grapplerulrich/) did you
   resolve this at all? I’m also experiencing this same issue.
 * So far our best fix has just been to export with Save for web (legacy) instead
   which doesn’t result in the same issue.
 *  [Ulrich](https://wordpress.org/support/users/grapplerulrich/)
 * (@grapplerulrich)
 * [4 years ago](https://wordpress.org/support/topic/php-warning-exif_read_data/#post-15658985)
 * The only two fixes are either to set `WP_DEBUG` to false or check the exif data
   in the image.

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

The topic ‘PHP Warning: exif_read_data’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [Ulrich](https://wordpress.org/support/users/grapplerulrich/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/php-warning-exif_read_data/#post-15658985)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
