• 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 to see the link]

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

    (@diondesigns)

    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

    (@adrenalin3)

    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

    Ulrich

    (@grapplerulrich)

    Here is the related trac ticket. https://core.trac.www.ads-software.com/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

    I am not sure what you can do in Photoshop to fix this.

    @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

    (@grapplerulrich)

    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.