What would cause this error? E_WARNING: exif_read_data(upload_OEkvSF): Illegal IFD size

6 posts by 2 authors in: Forums > CMS Builder
Last Post: September 26, 2018   (RSS)

By Codee - September 21, 2018

Just got this warning and haven't duplicated it, but it was recent:

Sep 21st, 2018 - 01:53:34 PM
E_WARNING: exif_read_data(upload_OEkvSF): Illegal IFD size
/home/xxsiteinfoxx/public_html/CMSBAdmin271/lib/image_functions.php (line 177)
https://sitename.com/CMSBAdmin271/admin.php

Is this familiar to anyone here? Thanks in advance.

By daniel - September 24, 2018

Hi equinox,

This is a bug we're aware of - the error itself is relatively benign, and is caused when uploading images that were created or compressed in certain ways. We are working on a more permanent fix, but in the meantime, you can silence this error by adding an "@" to line 177 in /cmsb/lib/images_functions.php, which should look like this:

$exif = @exif_read_data($imageFilePath);

Let me know if you have any further questions!

Thanks,

Daniel
Technical Lead
interactivetools.com

By Codee - September 25, 2018

Understood, Daniel. It would be nice (or helpful) to know when the bug is fixed permanently.  thank you kindly!

By Codee - September 25, 2018

One other thought on this, Daniel...

Is there any, or what is the, danger of turning this error off? Are there other situations where this is needed and we should be warned of something? Thanks.

By Codee - September 26, 2018

Thanks for the clarifying, Daniel.