How to fix “Upload: failed to write file to disk” error in WordPress

I am getting “Upload: failed to write file to disk” error in WordPress. How to fix it?

Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

Comments (1)

Emil Moe's photo

Could be a permission issue where you haven't set write permissions to wp-content/uploads (777).