I created custom util file to create function and used language file to call that function.
Only problem I'm having is that it's not getting any information regarding current user. When I tried to print current user array to log file it shows like below:
07/06/16 16:28:54 [-none-][FATAL]
As far as I know, it's not getting any userID as it shows [-none-] in log file.
Is this the Sugar Bug or I'm doing something wrong?