I am using underscores to create a new WordPress theme, the site is being hosted locally using MAMP. Whenever I try and upload a image either in a post or in the theme customization tab, this error is shown "An error occurred in the upload. Please try again later."

I have tried reinstalling WordPress but the issue prevails. Also if the theme is changed images upload perfectly.

Anyone know what might cause this, is there something missing in the underscores code that is creating this problem.


1 Answer 1


That is a common Mac OSX issue – you need to adjust your file permission for the uploads folder. The problem with changing the permissions manually is your have to change them each time you create a new project, which is tiring.

You can give MAMP permission and you will never have to worry about the same problem again. Here are some instructions: http://ifmeister.com/mamp-file-permissions-for-a-local-development-environment/

Good luck.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.