Unable to locate WordPress content directory (wp-content).
Adding below code to wp-config.php file will solve your problem:
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}
Above is quick fix I found on Wordpress support but problem is with permissions.
For details please follow link
Please check you permissions:
All FILES should have permissions set to 644
All DIRECTORIES (i.e. folders) should have permissions set to 755
For Correct file Permissions
Thanks!