Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Installed profile2.module, created a profile. When I go to edit the user's (or my account) and click on the profile tab, the avatars selection show up, though there is no picture field on that page.
Comments
Comment #1
iva2k CreditAttribution: iva2k commentedAfter code inspection in avatar_selection.module, function avatar_selection_form_user_profile_form_alter() it appears that $form['picture'] is an empty array. It could be created by some other contrib module, but I did not find which, still could be core 7.18.
I did a quick fix, replaced line 266
with
And the avatar selector is gone.
I don't like doing patches for one-liners like this. Please review code replacement above.
Comment #2
iva2k CreditAttribution: iva2k commentedSee the fix in patch #2 #1906488: Couple code issues and integration with Avatar Approval module
Comment #3
joelstein CreditAttribution: joelstein commentedI cannot reproduce this issue with the latest DEV of Avatar Selection and Profile2 7.x-1.3. If there is another module which is causing this, let's isolate it so we can put together a fix in consideration of actual causes.