[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

Post a Comment

Popular posts from this blog

[Azure Websites PHP] Cross Domain request results in blank response page after Preflight HTTP OPTIONS

[Magento] Create Contact Form with Dynamic Recipient