Have you checked the permissions of the wp-content and/or the wp-content/uploads folders? It could be that WordPress doesn’t have permission to save the file there.
I have many images in the library already. Which means WordPress had permissions before but not anymore? I can’t access wp-content. Any idea how do I get there?
Do you have FTP access? What about cPanel?
I can login to FileZilla and I see wp-content. Not sure what I have to do there?
Once logged in to FileZilla, find the root of your web directory and right click on wp-content. There at the bottom of the popup you will be able to edit the file permissions. They should be 755 for directories and 644 for files (sometimes you will see 775,664, but not likely)
Here is what WordPress has to say about file permissions
https://codex.ww.wp.xz.cn/Hardening_WordPress
-
This reply was modified 9 years, 2 months ago by
Michael Kracke. Reason: speeling
It took some time to change permissions but I’ve done that now and tried to upload images again. It doesn’t seem to work…
Next set would be to turn on debugging in your wp-config.php file. By default this is set to false.
This can be found towards the bottom of the file just change define(‘WP_DEBUG’, false); to true.
Then try to upload a photo. This should give you a more descriptive error message