Skip to:
Content
Pages
Categories
Search
Top
Bottom

Deprecated Class Errors in BuddyPress 14.3.1


  • rafael3d
    Participant

    @rafael3d

    Hello BuddyPress team,

    I’m using the BuddyPress plugin version 14.3.1 alongside WordPress 6.6.2 and have been encountering deprecated class error messages in my site logs. These messages point to line 6085 of the file wp-includes/functions.php and indicate the use of outdated classes like BP_REST_Activity_Endpoint and BP_REST_Members_Endpoint. The notices suggest replacing them with BP_Activity_REST_Controller and BP_Members_REST_Controller, respectively, as they’ve been deprecated since version 15.0.0.

    Here are some examples of the error messages:

    PHP Deprecated: The BP_REST_Activity_Endpoint class is deprecated since version 15.0.0! Use BP_Activity_REST_Controller instead. in /wp-includes/functions.php on line 6085
    PHP Deprecated: The BP_REST_Members_Endpoint class is deprecated since version 15.0.0! Use BP_Members_REST_Controller instead. in /wp-includes/functions.php on line 6085
    I’ve attempted troubleshooting by switching to the default WordPress theme and disabling non-essential plugins (including BP Classic), but the errors persist. Using the Query Monitor plugin, the deprecated notices seem to be directly linked to BuddyPress.

    Could you confirm if this behavior is expected? Is there a patch or a recommended solution to address this issue, as I’m already running the latest version of the plugin?

    Thank you for your assistance, and I look forward to your guidance.

    Best regards,
    Rafael João Ribeiro
    fisicagames.com.br

Viewing 3 replies - 1 through 3 (of 3 total)

  • emaralive
    Participant

    @emaralive

    Hi,

    Thanks for reporting this issue, I can confirm the error messages for the BP REST API when using the BP Nouveau template pack. Unfortunately, something went wrong with the build and these errors didn’t get caught when testing the build. 14.3.1 was released to fix an issue with WordPress 6.7 (_load_textdomain_just_in_time issue) and another issue (heartbeat) with the BP Legacy template pack.

    Looks like we need another build to get this fixed. At the moment, the only recourse is to roll back to 14.2.1 and continue to use WordPress 6.6.2.

    My apologies for the inconvenience.


    emaralive
    Participant

    @emaralive

    Hi,

    BuddyPress 14.3.3 Maintenance Release fixes the issue with “deprecated class” error messages.

    Please upgrade at your convenience.


    rafael3d
    Participant

    @rafael3d

    Hi @emaralive,

    Thank you so much for your prompt response and for providing a solution. I’ve updated the plugin to version 14.3.3, and I’m pleased to report that all the deprecated class error messages have disappeared. The maintenance release seems to have resolved the issue completely.

    I really appreciate the support and guidance from the BuddyPress team and the community. Thanks again for your help in addressing this matter so efficiently!

    Best regards,
    Rafael João Ribeiro
    fisicagames.com.br

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