JS Error in console when trying to generate a thumbnail
-
Hello,
I’m on PHP 7.4 and there is an issue with uploading images.
These built-in WordPress functions causes the server to go 503 Service Unavailable:$wp_generate_attachment_metadata = wp_generate_attachment_metadata( $attachment_id, $file ); wp_update_attachment_metadata( $attachment_id, $wp_generate_attachment_metadata );
So I comment them out and the upload succeeds but when I go to look at the image in Media library I don’t see a thumbnail, so I tried regenerating one with your plugin but nothing happens and I get JS error saying 503 Service Unavailable as well.
Is your plugin using the same functions as well? Do you have any ideas how to solve this issue? This has happened on two different hosting companies.
Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘JS Error in console when trying to generate a thumbnail’ is closed to new replies.