I just installed XAMPP on Mac OSX. When I tried to install a theme or plugin into a newly created WordPress site, I got this error: Unable to create directory.

I have to search for ways to resolve the issue. You need to set permission on plugin folder/directory. Via terminal write this

sudo chmod -R 777 wp-content

After doing that, I was able to install my wordpress theme and plugin succesfully.

Happy coding.

Share: