Drupal Association members fund grants that make connections all over the world.
I've recently noticed this issue with my User Badges module. I'm using latest dev version and yesterday, new errors started to occur. I think it may be because of upgrade of Privatemsg module to dev version. I upgraded DB by running update.php but there were some table errors, so I downgraded it again. I've noticed few errors on msg page right after that. Though, I've removed it completly, but still, following errors occur on certain pages, this time in admin after adding a role to user:
key_exists() [<a href='function.key-exists'>function.key-exists</a>]: The second argument should be either an array or an object in file /data/b/l/bloosha.com/web/sites/all/modules/user_badges/user_badges.module on line 272
Second error I've noticed occurs after I set count limit for user badges:
Invalid argument supplied for foreach() in file /data/b/l/bloosha.com/web/sites/all/modules/user_badges/user_badges.module on line 215
I found, on these lines, there is always piece of code:
Maybe it's somehow broken for me? Maybe it's because I'm inserting manually values into user_roles table? I would be really thankful for any kind of help.
My version of UB: http://drupal.org/node/336964
Hope we'll figure it out :)