“file.jpg” has failed to upload due to an error
Missing a temporary folder.
After some searching and a lot of reading, the only solution seemed to be that it related to the php.ini file which I didn’t have access to. All the folders had the correct permissions, so I was sure it was related to the php configuration and that I wouldn’t be able to help.
Just out of curiosity, I did the equivalent of “turning it off and on again” – I reloaded WordPress. It was already the latest version, so I just copied over all the WordPress files (except the
wp-content folder and the
wp-config.php file, as you would do if you were updating WordPress).
Somehow, this actually worked. The error was gone and files uploaded with no problems. I haven’t seen this posted as a solution anywhere, so I thought I’d just put this out there as an option.