Dear Support,
I have moodle 3.1 version and I am trying to echo $USER->email from php and print_object($USER) for a logged in user and the data is different than the one on the user table the user id is the same but the email for example is different. Can I know the $USER object from which table is reading and getting the data?
Hope to hear from you soon.