• Resolved _JamesW

    (@_jamesw)


    Hi, I have installed both EWWW Image Optimizer and Imsanity. When I upload an image I get the following notice from PHP:
    Notice: Undefined offset: 0 in /wp-content/plugins/ewww-image-optimizer/common.php on line 1057

    As far as I can tell the image is uploaded and optimised. But the above prevents the upload from visibly completing, displaying the thumbnail etc. I guess it might also not be writing some metadata successfully.

    https://ww.wp.xz.cn/plugins/ewww-image-optimizer/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter _JamesW

    (@_jamesw)

    Just an extra note, the above was when uploading through the media tab.

    If uploading directly in a post it actually shows an error message and does not allow you to insert it (but it has been uploaded if you check the media gallery).

    Plugin Author Shane Bishop

    (@nosilver4u)

    Thanks for the report. I’ll look into it and see what is going on.

    Plugin Author Shane Bishop

    (@nosilver4u)

    It happens when images are too small to be resized by imsanity, because the plugin mistakenly assumes all images will have an optimization record in the db. Fix in ‘dev’: http://downloads.wp.xz.cn/plugin/ewww-image-optimizer.zip

    Thread Starter _JamesW

    (@_jamesw)

    Perfect, that did it. Thanks!

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

The topic ‘Glitch when running with imsanity’ is closed to new replies.