I'm building a service where a few user attributes (category fields) are needed and have to be compared against an entry.
However, when I get the current user and try to load these attributes, they show as
NULL. They are filled in at the user's profile, so they shouldn't be
Below is the code I have used to get try and get the attributes values.
$user = craft()->userSession->getUser(); $user->getContent()->getAttributes()
Some values are filled out, like the custom field for postal code and phone number. However those category fields are all