• Resolved jave.web

    (@javeweb)


    Generally, on a small amount of images works fine, but if there are a lot of them (thousands) it stops being useful because it doesn’t handle JS/Connection errors.

    EVERY JS error in EACH run should NEVER fail to re-try (at least 1-10 times) and then skip it if it still can’t be done.

    Example of an unhandled error:

    build.js?ver=3.1.6:2 Uncaught TypeError: Cannot read properties of undefined (reading 'hasOwnProperty')
    Relates to this part:
    o = null !== n && n.hasOwnProperty("responseJSON") && null !== n.responseJSON ? n.responseJSON.hasOwnProperty("data") && null !== n.responseJSON.data && n.responseJSON.data.hasOwnProperty("attachment") && null !== n.responseJSON.data.attachment ? {

    I also tried ofc to hit Pause & Resume, but it doesn’t have any effect once it fails.

    This is very frustrating, because it doesn’t remember even when it ended, so if I want to re-try, it has to go ALL the things it already regenerated – thousands of files – it should have a cache of what it recently already successfuly regenerated.

    Also I’ve noticed that it fails to read files with diacritics (but that may be PHP+server setting).

    And for some reason it seems to also go through PDFs – why? PDFs are not images…

    Thank you for your work ! ?? I’m having great hopes since this should be very easy to fix – you can pass it on straight to the developers, thank you. (Please don’t ask me to “turn off” plugins etc… this is purely issue of this plugin, nothing else)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jave.web

    (@javeweb)

    Maybe genereally it would be good if one could skip to some specific media page, so one doesn’t have to run the regeneration again and also to pause/resume could also work like continuing from the last known state in case of any unhandled errors.

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @javeweb,

    What you said makes sense. We have a GitHub issue report open about that:

    https://github.com/Automattic/regenerate-thumbnails/issues/108

    We have reported your observations about that in there.

    Please let me know if you have any further questions or doubts!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Stops on error / Doesn’t handle errors & missing regeneration cache’ is closed to new replies.