WP FileSystem API help
If WordPress FileSystem API is unable to read or write files, then the server configuration is not correct. This could be due to file ownership, permissions or the method that is used. Using direct method for handling filesystem tasks usually solves the problem. Edit your wp-config.php file and add this code, if it doesn’t already…