Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress causing fatal error when upgrading to PHP 8.2


  • usercba
    Participant

    @usercba

    We’re encountering a fatal error (which appears to have been a warning in php 7.4.33)
    We are using the following:
    WordPress version 6.6.2
    Active theme: Astra Child (version 1.0.0)
    Current plugin: BuddyPress (version 14.1.0)
    PHP version 8.2.24

    Error Details
    =============
    An error of type E_ERROR was caused in line 942 of the file /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-tools.php. Error message: Uncaught Error: Undefined constant “BP_XPROFILE_BASE_GROUP_NAME” in /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-tools.php:942
    Stack trace:
    #0 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-includes/class-wp-hook.php(324): bp_core_admin_debug_information(Array)
    #1 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #2 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-admin/includes/class-wp-debug-data.php(1487): apply_filters(‘debug_informati…’, Array)
    #3 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-admin/site-health-info.php(36): WP_Debug_Data::debug_data()
    #4 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-admin/includes/class-wp-site-health.php(68): require_once(‘/home/customer/…’)
    #5 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-includes/class-wp-hook.php(324): WP_Site_Health->show_site_health_tab(‘debug’)
    #6 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #7 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #8 /home/customer/www/staging18.cbatraininginstitute.org/public_html/wp-admin/site-health.php(220): do_action(‘site_health_tab…’, ‘debug’)
    #9 {main}
    thrown

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