Skip to:
Content
Pages
Categories
Search
Top
Bottom

Group functions triggering deprecation notice?


  • johndawson155
    Participant

    @johndawson155

    Wordpress Version: 6.5.2
    BuddyPress Version: 12.4.0
    Theme: 2014
    Other Plugins: Membership Pro

    Relevant info: we have a snippet that uses the following functions, to get Group Info.

    groups_get_groups()
    groups_get_user_groups()
    bp_get_user_group_role_title()
    get_group_role_label()
    bp_get_group_type_post_id()

    Getting the error below; something needs an update …
    Perhaps one or more of the above functions are causing this?

    Deprecated: Function bp_get_groups_directory_permalink is deprecated since version 12.0.0! Use bp_get_groups_directory_url() instead. in /var/www/html/wp-includes/functions.php on line 6078 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-includes/functions.php:6078) in /var/www/html/wp-admin/includes/misc.php on line 1439 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-includes/functions.php:6078) in /var/www/html/wp-includes/functions.php on line 7096 Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-includes/functions.php:6078) in /var/www/html/wp-admin/admin-header.php on line 9

Viewing 1 replies (of 1 total)

  • Varun Dubey
    Participant

    @vapvarun

    @johndawson155, please follow the steps to deactivate other BP-related plugins at your staging. It’s possible that one of your active plugins contains deprecated code.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar