Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Going to the user profile page triggers the following error:
- Notice: Undefined index: elements in aurora_preprocess_user_profile_category() (line 246 of /path/to/sites/all/themes/contrib/aurora/template.php).
- Notice: Undefined index: elements in aurora_preprocess_user_profile_category() (line 247 of /path/to/sites/all/themes/contrib/aurora/template.php).
- Notice: Trying to get property of non-object in aurora_preprocess_user_profile_category() (line 251 of /path/to/sites/all/themes/contrib/aurora/template.php).
- Notice: Trying to get property of non-object in aurora_preprocess_user_profile_category() (line 252 of /path/to/sites/all/themes/contrib/aurora/template.php).
There does not appear to be an 'elements' index in the $vars array. There is an 'element' index, but it does not appear to contain either '#view_mode', or '#account'.
Comments
Comment #1
4aficiona2 CreditAttribution: 4aficiona2 commentedHappens too with my setup but I run the 7.x-3.4 version of aurora
Comment #2
iamcarrico CreditAttribution: iamcarrico commentedI seem to have added that code to the wrong preprocess function. I pushed a fix in the latest dev branch.
Comment #5
mausolos CreditAttribution: mausolos commentedThis issue still exists in 3.4, which appears to be dated a week or two after this fix was committed to dev. Did this just not make it to 3.4 from dev? If it's still in dev, can we get an eta on next release with this fix in it?
Much appreciated!
Charles
Comment #6
Fidelix CreditAttribution: Fidelix commentedJust tested it again with the latest dev version and the commit is there, and the problem is fixed.