gambitph / WP-OTF-Regenerate-Thumbnails

Automatically regenerates your thumbnails on the fly when thumbnail sizes change.
https://wordpress.org/plugins/otf-regenerate-thumbnails/
GNU General Public License v2.0
77 stars 16 forks source link

Media Library not loading #11

Open generatepress opened 9 years ago

generatepress commented 9 years ago

This script is causing the media library not to load on a user's host.

When navigating to the Media Library, I get this error in Firebug during the AJAX call:

<html>
  <head>
    <title>503 Service Unavailable</title>
  </head>
  <body>
    <h1>Error 503 Service Unavailable</h1>
    <p>Service Unavailable</p>
    <h3>Guru Meditation:</h3>
    <p>XID: 607751000</p>
    <hr>
    <p>Varnish cache server</p>
  </body>
</html>

When this script is removed, the Media Library loads instantly.

Any ideas?

oherman commented 9 years ago

Please try a new pull here and see if the problem is fixed.

generatepress commented 9 years ago

Apparently there's no difference (a customer is reporting this).

They talked to the EWWW Image Optimizer devs who said this:

'Indeed it does seems to loop for quite a while, and the reason is that OTF is generating fresh thumbnails for all the images in the media library when you view it... the result is that EWWW also optimizes those images when they are generated.

I don't think OTF used to do that in the Media Library, but it does now. The grid view will also load eventually, just like the list, but it takes longer, because there are generally more images being viewed in grid view. Not sure there is anything I can do on my end to prevent that, a simple check for is_admin() in OTF would probably take care of things.'

generatepress commented 9 years ago

Any updates on this? I have quite a few users who's Media Library isn't loading any images.

sachittandukar commented 9 years ago

I am also facing same issue. When I disable plugin, media library loads instantly.

oherman commented 9 years ago

Pardon the delayed replies, we have been working on other backlogs. Rest assured we will look into this in the soonest possible time.

On Aug 3, 2015, at 12:11 PM, Sachit Tandukar notifications@github.com wrote:

I am also facing same issue. When I disable plugin, media library loads instantly.

— Reply to this email directly or view it on GitHub https://github.com/gambitph/WP-OTF-Regenerate-Thumbnails/issues/11#issuecomment-127118178.

generatepress commented 9 years ago

Thanks! Looking forward to the fix :)