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

Not working properly while uploading webp images #2

Open
waqasy opened this issue Jul 2, 2017 · 0 comments
Open

Not working properly while uploading webp images #2

waqasy opened this issue Jul 2, 2017 · 0 comments

Comments

@waqasy
Copy link

waqasy commented Jul 2, 2017

Hi again,

I've been testing this plugin. Everything works fine except uploading webp format. When uploaded through media_handle_sideload it generates following error.

[error] 6105#6105: *501 FastCGI sent in stderr: "PHP message: PHP Warning: Invalid argument supplied for foreach() in /var/www/html/wp-content/plugins/rj-webp-converter-master/includes/lib/class-rj-webp-converter-admin-main.php on line 70" while reading response header from upstream, client: xxx.255.5.96, server: example.com, request: "POST /wp-admin/async-upload.php HTTP/2.0", upstream: "fastcgi://unix:/run/php/php7.0-fpm.sock:", host: "example.com", referrer: "https://example.com/wp-admin/media-new.php"

And If I try uploading webp image from wp-admin > library. It uploads the image but then wordpress doesn't generates thumbnails. I think its Wordpress issue that its not generating thumbs. Because also by default Wordpress don't allow .webp uploads..

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

1 participant