Avatars not showing with plugin

Hey,

I had an issue with Avatrs plugin where images were not showing, but found a solution by adding this line to the .htaccess file - RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]

Now i updates wordpress to the latest version, and i have the same issue, and also, when i click the alternative upload button i get this error: There was an error uploading the file, please try again.There was an error uploading the file, please try again.

.htaccess file looks like this :

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]

#uploaded files
RewriteRule ^(.*/)?avatar/(.*) wp-content/avatar.php?file=$2 [L]

what could be the problem? i had it all working fine

Thanks