humanmade / S3-Uploads

The WordPress Plugin to Store Uploads on Amazon S3
1.92k stars 389 forks source link

Image upload fails #577

Open Lancom-BoundaryBend opened 2 years ago

Lancom-BoundaryBend commented 2 years ago

image

Getting post processing failed error when uploading image.

Also on S3 bucket the image shows up under upload fodler but just a 0KB corrupt file.

I am running WordPress 5.8.2 and S3 Uploads Version 2.2.2

Lancom-BoundaryBend commented 2 years ago

Upload works fine after I Deactivate the Plugin.

joshkalsi commented 2 years ago

Also having the same issue, minus the processing failure message

pc-erin commented 2 years ago

Check the php logs and make see if there's any errors.

When this has happens to me it's usually an authentication or other misconfiguration issue with my S3 endpoint settings.

Lancom-BoundaryBend commented 2 years ago

putty_E9vhhvkWDn

see attached screenshot of the error in php logs

Lancom-BoundaryBend commented 2 years ago

composer require guzzlehttp/guzzle:~7.2.0 -w

this solved the issue

pc-erin commented 2 years ago

You might be on an old version of the plugin. The current version appears to use MimeType::fromFilename instead of mimetype_from_filename.