fixed minor php warnings
social_likes() and get_social_likes() functions