I'm actually running into this error now, myself.
$ wp media regenerate --yes
Found 103 images to regenerate.
Lib::error: Regenerate wp_create_image_subsizes( _, $attachment_id ) argument mismatch!
Lib::error: Wrong editor class selected: WP_Image_Editor_Imagick
Lib::error: Function get_warp_editor() returned an error: Wrong editor class selected: WP_Image_Editor_Imagick1/103 Regenerated thumbnails for "cropped-AD_Logo_4color.png" (ID 2528).
Lib::error: Regenerate wp_create_image_subsizes( _, $attachment_id ) argument mismatch!
Lib::error: Wrong editor class selected: WP_Image_Editor_Imagick
Lib::error: Function get_warp_editor() returned an error: Wrong editor class selected: WP_Image_Editor_Imagick2/103 Regenerated thumbnails for "image" (ID 2527).
Lib::error: Regenerate wp_create_image_subsizes( _, $attachment_id ) argument mismatch!
Lib::error: Wrong editor class selected: WP_Image_Editor_Imagick
Lib::error: Function get_warp_editor() returned an error: Wrong editor class selected: WP_Image_Editor_Imagick```
I looked into updating:
``` nano +486 warp-imagick/classes/class-shared.php```
but found that line 486 already had:
``` return new \WP_Error( 'warp-imagick', $msg );```
also, this error came up a few times:
```Lib::error: Regenerate wp_create_image_subsizes( _, $attachment_id ) argument mismatch!
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile```
i looked into the file, thinking that it might be one of our PDFs that we have within this media library... but it ended up being a pretty normal jpg image.
i tried installing a few additional png mods on the server, but that didn't seem to have any effect.
any suggestions?
...i almost forgot to mention, this is a WordOps webstack. other than a few plugins, i'd like to believe that this install is quite identical to our other installs.