Line 1239 user_badges.module sets the class attributes as a string - it should be an array, i.e.:

'attributes' => array('class' => array($badge->class)),

This is the same issue as Media module: #1722146: Media filter is using string instead of array for the class attribute

And as discussed here: http://drupal.org/node/1711746#comment-6383342

Comments

NancyDru’s picture

Priority: Critical » Normal
Status: Active » Fixed

I imagine it's a problem for lots of modules converting from 6.x. Thanks for letting me know.

However, "critical" implies site down - I doubt this caused your site to crash.

Status: Fixed » Closed (fixed)

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