Error thrown

Call to undefined function get_wp_user_avatar()