Skip to:
Content
Pages
Categories
Search
Top
Bottom

groups_update_groupmeta – can't use an array in meta_value

  • Avatar of Fairweb
    Fairweb
    Participant

    @fairweb

    Hi,

    I’m currently writing a plugin where I’m using my own group metas. Unfortunately, I can’t pass an array to groups_update_groupmeta to update the meta_value due to $meta_value = (string)$meta_value; (file : bp-groups.php, line 2255).

    When I comment out this line, it works fine. Is this line absolutely necessary ?

    Thanks

You must be logged in to reply to this topic.