Depricated warning when hitting a member-link

I somehow get this warning: Deprecated in 1.7: get_entities() was deprecated by elgg_get_entities().

when I hit the name of a Member to get to his profile. Does not matter, if I go via river or members section.

All I need to know is how to get rid of the message, which is shown to non-admins as well...