[Solution] Wordpress "An error occurred in the upload. Please try again later" error.

Got this weird "An error occurred in the upload. Please try again later" error whenever I try to do media uploads in Wordpress.



I've checked the folder permission, its correct. In fact, the files were uploaded successfully to wp-content > upload folder.

I've tried all kinds of suggestion in forums (disable all plugins, enable them one by one... etc), but still no avail.

In the end, I decided to do a "Re-install", and that... worked!



And all the uploaded files were intact.


-----

Didn't dig deep into finding out what causes the issue.

But a wild guess would be something to do with the PHP codes. Because the uploaded files were stored in DB, although the upload status indicated "failed".

Most likely something to do with the permission issue highlighted in this blog post.

Comments

Popular posts from this blog

225019099301.apps.googleusercontent.com

Backup MySQL to Azure Storage in 30 Seconds

Generate GoDaddy SSL Certificate (.crt) for Azure Websites (.pfx)