BuddyDev

Search

buddypress-user-badges php error

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

    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

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

    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

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #51793

    Hello,

    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.

    Regards

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on #51797

    Hello,

    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.

    Regards
    Ravi

You must be logged in to reply to this topic.

This topic is: not resolved