So I recently created a staging environment and have had this problem since. Now when I try to install any plugin it says:
Unpacking the package…
Could not create directory.
And also when I try to upload some media files it says, The uploaded file could not be moved to wp-content/uploads/
Now I’ve done my research on these forums and most of the answers are a couple years old and involved some complicated wordpress jargon that I’m not really familiar with. I understand this is something to do with a permission issue and while I know how to handle that using FTP I was wondering if there was a non-FTP way to approach this because I’m only a contributor on my site. Thanks!
Very first check owner and group and give 774 permission to folder. Use chmod -R after that try to install.
if it wont work then set define('fs_method' 'direct'); in wp-config.php
Hope this will be enough 🙂
Viewing 1 replies (of 1 total)
The topic ‘Could not create directory/ Media upload issue’ is closed to new replies.