• Resolved TheMediumUTM

    (@themediumutm)


    Hi,

    I just read through all the support posts dealing with folders outside the media library and couldn’t solve my question, so I decided to post it.

    I can’t save my list of paths outside of the media library. I think I understand what “full path” means. Basically, the abspath that it echoes there is my root folder. Righty-o.

    So if I want to add all theme images, I do:

    /…the abspath in the label… /wp-content/themes/

    When I do this and save settings, after a bit of a delay the page refreshes with this error:

    Warning: implode() [function.implode]: Invalid arguments passed in /…that same abspath…/wp-content/plugins/ewww-image-optimizer/common.php on line 2195

    Something I’m missing?

    Thanks!

    https://wordpress.org/plugins/ewww-image-optimizer/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter TheMediumUTM

    (@themediumutm)

    Hello?

    Plugin Author nosilver4u

    (@nosilver4u)

    That’s curious, I just replicated it on my setup too. What version of the plugin were you running when you first reported the error?

    Thread Starter TheMediumUTM

    (@themediumutm)

    Running 2.0.0 (and still doing so).

    Plugin Author nosilver4u

    (@nosilver4u)

    Found the glitch. I was missing the parenthesis around the condition, so it was trying to do an assignment of the conditional, instead of the assignment operation being the condition.
    Fix is in dev: http://downloads.wordpress.org/plugin/ewww-image-optimizer.zip

    Thread Starter TheMediumUTM

    (@themediumutm)

    Great, thanks! It’s rewarding as a user to know that the problem was just a small glitch, although it must be frustrating as a developer…

    So, no images found in the scan. What kinds of non-media library images can be optimized? I guess not just those sitting in folders in the theme directories?

    Plugin Author nosilver4u

    (@nosilver4u)

    any jpgs, pngs, and gifs should be picked up. That is unusual to find nothing in the theme folder. Did you have scheduled optimization turned on at any point?

    Thread Starter TheMediumUTM

    (@themediumutm)

    I did have it turned on, but it seems not to find anything whether I have it on or off.

    Plugin Author nosilver4u

    (@nosilver4u)

    On the Bulk Optimize page, check Show Optimized Images. The bug was in the display of the paths, not in the actual saving or using of the paths. So, if you had scheduled optimization turned on, even though the settings page was throwing that error, the plugin would have been scanning and optimizing those images automatically, which is why it no longer finds anything left to optimize.

    Thread Starter TheMediumUTM

    (@themediumutm)

    Did indeed check – but everything there seems to be from the media library.

    Plugin Author nosilver4u

    (@nosilver4u)

    Can you do a dump of the ewwwio_images table (using something like phpmyadmin), and send it to me: http://www.shanebishop.net/contact-me/

    Plugin Author nosilver4u

    (@nosilver4u)

    All the images for the Newspaper theme are in there. If I remember correctly, the Show Optimized Images table displays them in reverse chronological order, so check the very last few pages and you should see them there.

    Thread Starter TheMediumUTM

    (@themediumutm)

    Ahh, gotcha. Check. What fooled me was that some of the first few images there are ones I just uploaded yesterday, and after that I saw only more more media uploads. Maybe there was some odd thing with the order.

    Thanks for all your help!

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

The topic ‘Full path…’ is closed to new replies.