missing_context issue

I new error message came up today and is preventing me from grabbing the username of the current logged in user. It was all working yesterday up until today.