Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media regenerate problem with large image amount #120

Open
IIM-Andreas opened this issue Dec 13, 2019 · 1 comment
Open

media regenerate problem with large image amount #120

IIM-Andreas opened this issue Dec 13, 2019 · 1 comment

Comments

@IIM-Andreas
Copy link

Bug Report

Hi,
I ran the command wp media regenerate --only-missing --yes over about 111.000 images.
About ~80.000 successful and ~30.000 failed.

The problem is that for the failed images, all image formats are gone or sometimes one is left in the database. I have like 12 image formats on my wordpress.

If I run the command for one failed image again wp media regenerate <post_id> --only-missing --yes it's successful.

So why get already correct existing formats in the database deleted when wp media regenerate fail?

Running wp media regenerate <post_id> --only-missing --yes with 100 post_id on the other hand works, strange thing.

@encodiaweb
Copy link

Same problem here. Is there any best practice about running wp media regenerate on such a big amount of images, without having errors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants