I have two roles that are assigned badges. When I switch a user from one role to another I get these three errors:
- warning: key_exists() [function.key-exists]: The first argument should be either a string or an integer in /home/commst/public_html/sites/all/modules/user_badges/user_badges.module on line 272.
- warning: Illegal offset type in /home/commst/public_html/sites/all/modules/user_badges/user_badges.module on line 275.
- warning: key_exists() [function.key-exists]: The first argument should be either a string or an integer in /home/commst/public_html/sites/all/modules/user_badges/user_badges.module on line 284.
I'm not php savvy so not sure how to modify the .module file. Would greatly appreciate any help. Thanks.
Comments
Comment #1
Sphax84 commentedSame issue for me... Moreover, the associated badge to role doesn't show up... :(
Comment #2
jackc2015 commentedI get the same warnings on the same lines.
Comment #3
majid.ali commentedSame issue here.
Comment #4
shabana.navas commentedFixed in Version 7. Please upgrade to the latest version of userbadges.