I installed a XAMPP application and used localhost to install the latest version of WordPress. Every time I try to upload the or update plugin or theme, it gives me an error
Couldn't create the directory.
I'm using Mac OS X, I've changed the permissions as well as I have added the define('FS_METHOD','direct');
command in the wp-config file. However, it is still not working for me.
What can I do in this case?
UPDATE
I have already tried following the steps in this article: