I am using:
echo get_avatar(get_the_author_id(), 30);
Which works, however i am getting this notice to use:
echo get_avatar(get_the_author_meta(), 30);
Which doesn't display the authors Gravatar image, just the Gravatar default image.
**Notice:** get_the_author_ID is deprecated since version 2.8! Use get_the_author_meta('ID') instead. in C:\Users\Administrator\Desktop\www.wpsites.dev\wp-includes\functions.php on line 2908
So my question is, what should i use to display the posts author Gravatar?