Avatar Upload in front-end does not work due to Ultimate Member plugin

Due to Ultimate Member plugin, the Avatar Upload feature in the User Settings page (in front-end) will not work. It’s because Ultimate Member plugin also override the default WordPress Avatar feature.

 

To fix this, (ie. use Madara’s User Settings page), you can add this custom code into your child theme functions.php

remove_filter( 'get_avatar', 'um_get_avatar', 99999, 5 );