Find all the functions “get_avatar” used in your theme folder.
Identify the wrong calls echo get_avatar($comment,$size="48",$default="<path_to_url>" );
or
echo get_avatar($comment,48,'<path_to_url>' );
If you find these,then change it to echo get_avatar( $comment, 48 );
.
Hope this gonna help you 🙂