Whenever I try to upload featured image for a new post or edit featured image of the older post, the following errors comes up:
An error occurred in the upload. Please try again later.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
Make sure the
wp-content/uploads directory is writable.
In Ubuntu, open the terminal, then type
chmod 777 -R /var/www/html/wordpress/wp-content/uploads
Adjust that command to your WordPress installation directory. Then, try again.