Error when updating plugins by FTP “Unable to locate WordPress Content directory (wp-content).”

I ended up using code from this post on WordPress.org

Place this into my wp-config.php file

if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
}

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)