PHP Warning: foreach() argument must be of type array|object, null given in …/plugins/buddypress-user-badges/src/handlers/class-badge-display-helper.php on line 76
and also this error: PHP Warning: Attempt to read property “roles” on bool in …/buddypress-user-badges/src/handlers/class-badge-display-helper.php on line 76
Sorry for the inconvenience and thank you for sharing the errors. we will fix this soon and update you. For the time being, you can ignore these warnings.
Can you please let me know which version of the plugin you are using? It seems you are using an older version of the plugin. Please upgrade the plugin to the latest version and then give it a try.