Why is currentMember.getMember() returning undefined?

All what you should need to know about your issue…