wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
69 stars 24 forks source link

PHP warnings related to EXIF #595

Closed piotrbak closed 1 year ago

piotrbak commented 2 years ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug I can see the following warning present in the log:

[12-Jul-2021 14:30:23 UTC] PHP Warning:  exif_read_data(single-1-—-kopia-3-—-kopia.jpg): Incorrect APP1 Exif Identifier Code in /var/www/rocketlabsqa.ovh/htdocs/wp-admin/includes/image.php on line 801

To Reproduce Not sure how to reproduce this, preserving EXIF is disabled.

Expected behavior No warnings

Additional context File mentioned in the issue:

  1. From the uploads directory: single-1-—-kopia-3

2 From the backup directory: single-1-—-kopia-3

Backlog Grooming (for WP Media dev team use only)

alexbogias commented 2 years ago

same here

Tabrisrp commented 1 year ago

I got a similar warning while restoring original on some images. To note, it will only show in the logs if WP_DEBUG is enabled, else there is error suppression enabled.

Since it's coming from a call of a function in WP core, it's not something we can do anything about, so I suggest we close this.

GeekPress commented 1 year ago

Closing the issue per @Tabrisrp recommandation.