Skip to:
Content

bbPress.org

Changes between Initial Version and Version 2 of Ticket #3426


Ignore:
Timestamp:
03/22/2021 02:13:14 AM (8 weeks ago)
Author:
johnjamesjacoby
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3426 – Description

    initial v2  
    66After enabling debugging info, I received the following error (paths sanitized for security):
    77
     8{{{
    89Fatal error: Uncaught Error: Class 'BBP_BuddyPress_Activity' not found in public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php:153 Stack trace:
    910#0 public_html/wp-includes/class-wp-hook.php(292): BBP_Forums_Component->setup_components('')
     
    1617#7 public_html/wp-settings.php(560): do_action('init')
    1718#8 public_html/wp-co in public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 153
     19}}}
    1820
    1921I was able to temporarily resolve the issue by patching the following function (wp-content/plugins/bbpress/includes/extend/buddypress/loader.php):
    2022
    2123Line 153 being the "new BBP_BuddyPress_Activity()" line.
     24{{{
    2225        /**
    2326         * Instantiate classes for BuddyPress integration
     
    4144        }
    4245
     46}}}
    4347
    4448Patched code:
     49
     50{{{
    4551                // Create new activity class
    4652                if ( bp_is_active( 'activity' ) ) {
     
    5157                        bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity();
    5258                }
     59}}}
    5360
    5461Let me know if there's any additional information that would be helpful.