Support » Plugin: Image Regenerate & Select Crop » freezes on ‘remaining to regenerate’

  • Resolved Lordmuppet

    (@lordmuppet)


    So i’m on Twenty Seventeen theme. Am regenerating featured images to crop from top centre. It does the vast bulk of them (i have about 500) but on the last 47 or so it freezes on a white box that says “remaining to regenerate: 47”

    I’m not sure whether it actually failed to regenerate these 47 or not. It did the others fine.

    Still a great help. Thanks for making this plugin 🙂

    • This topic was modified 5 months ago by  Lordmuppet.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    Can you please check the count of items in the media listing and let me know how many images do you have? Maybe the regenerate all is not filtering well all the images by mime type. Also if you filter the media to only images, do you see the buttons to details and regenerate for all the items?

    Regards,
    Iulia

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    While working on another feature, I replicated the issue and since WordPress 5.0 there is a new error handler class that is killing the script on fatal errors, which makes it a bit tricky to identify the actual problem. In my case, the error was “Allowed memory size of … bytes exhausted”, which means that one of the images is very big and the request could not be handled.

    Just wanted to let you know that I am keeping an eye on this, and I will attempt to include in the next release a hint for this type of issue.

    Regards,
    Iulia

    that’s great thanks! Sorry not to have been able to reply before

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I just released a new version of the plugin which is attempting to bypass the fatal errors. You will see an error log at the end of the regenerate process which might give you more answers on where the error occurred.

    Please upgrade and let me know how it goes.
    You can see more details and screenshots of what to expect here https://iuliacazan.ro/image-regenerate-select-crop/

    Regards,
    Iulia

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I haven’t heard back from you in a while so I will mark this as resolved.
    You can start a new thread if you have any other issues to report or questions.

    Regards,
    Iulia

    Lordmuppet

    (@lordmuppet)

    Sorry not to have tested earlier. Went to test just now but looks like the plugin is blocking me from logging in at all now. I’ll create a separate ticket for that.

    Lordmuppet

    (@lordmuppet)

    managed to get into a test site and test it there. I now get

    “Unfortunately, there was an error. Some of the execution might not have been successful. This can happen in when:
    • the image from which the script is generating the specified image size does not have the proper size for resize/crop to a specific width and height,
    • the attachment metadata is broken,
    • the original file is missing,
    • the image that is processed is very big (rezolution or size) and the allocated memory on the server is not enough to handle the request,
    • the overall processing on your site is too intensive.

    See the details:
    2019/01/GVA_Tshirt-greenUpdated-01.png – Could not generate, the original is too small.
    2019/01/Tshirt-01.png – Could not generate, the original is too small.
    2019/01/Tshirt-01-1.png – Could not generate, the original is too small.
    2019/01/test.png – Could not generate, the original is too small.”

    which i think is the expected result yes?

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Yes, that is expected.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.