Open tante opened 1 year ago
Are you getting any specific errors in the Developer Console in your browser? It sounds like something is stopping the thumbnail from uploading to your server from your browser.
Only the error that gets propagated from the backend upon trying to set one of the 4 generated images as thumbnail:
Tested with a different browser (first was Chrome, now Firefox): Same problem. Looks like it's an issue server side? But other uploads (like uploading images or videos to the media library) work without problems.
I have the same issue when setting an already existing image from the media gallery btw.
Ok, I can see where my bad error handling is causing a problem, but I can't tell exactly why the error is being generated. My best guess is it comes from PHP not having direct write access to the WordPress Media Library uploads folder. Have you made any changes to the location of the uploads folder?
Nope, the Uploads folder is standard and the webserver has all rights to put things there (uploads in general work)
We run Wordpress 6.3 with PHP 7.4.3-4ubuntu2.19.
There's an issue when trying to set a thumbnail. I can generate them (I get 4 suggestions from the video) but when trying to save them I get an "Internal Server Error".
The logs show:
The problem seems to be in line 385:
$editor = kgvid_decode_base64_png( $raw_png, $tmp_posterpath );
This does not seem to return an object.