I got this notice after creating a custom content type node on /***/node/ , /admin/people/people and /***/user

Notice: Undefined index: nolimit in user_badges_get_badges() (line 907 of /***/sites/all/modules/user_badges/user_badges.module).

Environment: Drupal 7.8

Comments

Miria’s picture

This same error appears for me at the top of forum posts pages.

Notice: Undefined index: nolimit in user_badges_get_badges() (line 907 of /misc/33/341/964/930/2/user/web/. . ./sites/all/modules/user_badges/user_badges.module).
Miria’s picture

Issue summary: View changes

added "and /***/user"

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

Right after the "static" line (approx. 863) in function user_badges_get_badges, insert:

  $defaults = array('nolimit' => FALSE);
  $options = array_merge($defaults, $options);

Please let me know if it takes care of this.

Desi Raaj’s picture

#2 fixed the problem for me

Desi Raaj’s picture

Status: Postponed (maintainer needs more info) » Fixed
nancydru’s picture

Great, thanks. This will be in #1306032: Cumulative D7 Changes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

the same notice again on /admin/people/people