BuddyDev

Search

log error class-badge-display-helper

  • Participant
    Level: Master
    Posts: 153
    Talia B on #48210

    i am getting this error:
    ‘PHP message: PHP Warning: Invalid argument supplied for foreach() in /home…………display-helper.php on line 76PHP message: PHP Warning: Invalid argument supplied for foreach() in /home…/plugins/buddypress-user-badges/src/handlers/class-badge-display-helper.php on line 76’

    why is that?

  • Participant
    Level: Master
    Posts: 153
    Talia B on #48211

    i am using the badges plugin

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #48229

    Hi,
    Thank you for reporting the issue.

    I am sorry for the inconvenience.
    For some reason, one of your user roles is empty causing it. I will release an update to fix the notice.

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 153
    Talia B on #48236

    what do u mean in “user roles is empty”?
    also thanks, how will i know when realesed?

  • Keymaster
    (BuddyDev Team)
    Posts: 24623
    Brajesh Singh on #48249

    Hi,
    Please upgrade to 1.2.6. it is fixed.
    This happens when some plugin or code disables user roles/removes all roles.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved