• Resolved Grace n Ease

    (@grace-n-ease)


    Fatal error: Call to undefined function exif_imagetype() in xxx-path\wp-content\plugins\content-progress\content-progress.php on line 481
    Using WP 3.5.1
    Php 5.4.11

    Hi,

    I like your plugin but I am getting the above fatal error under the “Additional included icons’ Information in admin.

    I looked up the error and I am seeing a lot of issues with using exif_imagetype overall. The suggestion I have seen is to use “getimagesize” instead as it does return the TYPE very good according to what I read.

    Just a suggestion. Since EXIF extension has to be installed in php.ini for it to word and some servers don’t.

    However, I also see that there is no function defined for exif_imagetype in your file.

    [edit]

    For me, I just changed the exif_imagetype with getimagesize and the rest of the page shows up now, the get support section. I hope that corrected the issue and didn’t just hide it..

    http://wordpress.org/extend/plugins/content-progress/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    Thanks for noting this. I’ll include a fallback function for this situation. I’ve done that with my other plug-ins, but missed it on this one.

    Thread Starter Grace n Ease

    (@grace-n-ease)

    Yes, it is resolved. Thanks so much Joe.
    Works like a charm.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘fatal error’ is closed to new replies.