• Resolved Cirinu

    (@cirinu)


    Hi, i loved your plugin. Good job.

    But unfortunatelly, i got an weird error with it.

    I use woocommerce and dokan plugins.

    All was going fine. I optimized all images with all resources available from the plugin. When suddenly, some products (and only some products) weren’t openning anymore. They were “forever loading”. I don’t know exactly how to debug it, but i deactivated all plugins, one by one, until i found that when i deactivated yours, all went back to normal.

    So, i wonder if you can assist me on this? What informations can i give you more?

    thanks

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    Not sure what could cause that. I’m releasing 2.3 tonight, try that and see if it fixes anything. If not, check any server error logs that you have available for messages. If there is nothing useful there, enable debugging in your wp-config.php file (set it to true), and see if that outputs any errors.

    Thread Starter Cirinu

    (@cirinu)

    2.3 didn’t fix it…
    debug is on. But the page doesn’t open. So it doesn’t show anything.

    i made some tests deactivating and activating the plugin and reloading the page.

    when plugin is on i get: “Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError”

    know what this is?

    the weird thing is that only some products are giving this erros, and i can’t figure out yet what they have in commum.

    Plugin Author nosilver4u

    (@nosilver4u)

    Sounds like your webhost is preventing EWWW from doing something, you’ll need to check with them to see what specifically that message means.

    Thread Starter Cirinu

    (@cirinu)

    i fixed this error. but it doesn’t have anything to do with EWWW or this problem…

    i have full access to my VPS, so anything it needs to be done, you can tell me. I insatlled EWWW out of the box and just installed pngout in my vps.

    now, everything is on. Except Imagemagick ‘convert’ tha is missing and safemode that is off.

    the pages evenctually opens, but it takes 10 minutes just to get the first data (the TTFB). There are no errors shown on the page. Even if debug mode is on and js debug too.

    i deactivated the automatic optimization and problem was solved. Don’t know why. Guess i will have to try the programmed optimization.

    Plugin Author nosilver4u

    (@nosilver4u)

    You should always run the bulk operations from the web interface or wp-cli the first time. Scheduled optimization is for on-going upkeep of extra folders that you’ve configured and your theme files. If you have lots of files, it is going to hammer your site pretty badly, and cause the load issues you saw.

    Thread Starter Cirinu

    (@cirinu)

    Humm… I guess i have to deactivate it all and do some optimizations manually.

    It would be nice to be able to program a schedule time of the week to automatic optimize the site. Like the backup plugins have, you know? You choose a low traffic hour and date, and the plugin make it’s magic then.

    But one question, the load issues ocurred when automatic optimization was on, not schedule optimization…

    Plugin Author nosilver4u

    (@nosilver4u)

    Sorry, I thought you said scheduled, I should read more carefully next time. Sounds like perhaps some plugins are generating images on-the-fly then, which could also cause load issues.

    Thread Starter Cirinu

    (@cirinu)

    Seems to be that. Even though my knowledge prevents me to know why. I use woocommerce, dokan, wordpress seo…

    i appreciate your support here. Very fast reponses!

    Plugin Author nosilver4u

    (@nosilver4u)

    Can you turn on EWWW, and send me a link or two to a page that is having trouble loading?

    Thread Starter Cirinu

    (@cirinu)

    well, for some reason i don’t know…, it’s a little better. but not optimum.

    taking 25sec just to start loading: http://artedoencontro.com/produto/teste/

    loads fast: http://artedoencontro.com/produto/africa-style/

    Plugin Author nosilver4u

    (@nosilver4u)

    A delay like that means something is processing an incredible amount of code, or doing a lot of database queries before it can start the page rendering process.

    I would disable plugins one at a time until you find out which one causes that long delay.

    Usually, if it is EWWW interacting badly with another plugin, the page will still load quickly, but the images will be slow to load (usually).

    Once you’ve tracked that down, I would enable either W3TC or WP Super Cache to cache your pages. I think you’d see a pretty big improvement in loads times with that.

    Thread Starter Cirinu

    (@cirinu)

    thanks. as soon as i get some time. i will do that. I’ll post the results here later for you. thanks.

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

The topic ‘Weird error with EWWW’ is closed to new replies.