Changes between Initial Version and Version 2 of Ticket #3426
- Timestamp:
- 03/22/2021 02:13:14 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3426 – Description
initial v2 6 6 After enabling debugging info, I received the following error (paths sanitized for security): 7 7 8 {{{ 8 9 Fatal error: Uncaught Error: Class 'BBP_BuddyPress_Activity' not found in public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php:153 Stack trace: 9 10 #0 public_html/wp-includes/class-wp-hook.php(292): BBP_Forums_Component->setup_components('') … … 16 17 #7 public_html/wp-settings.php(560): do_action('init') 17 18 #8 public_html/wp-co in public_html/wp-content/plugins/bbpress/includes/extend/buddypress/loader.php on line 153 19 }}} 18 20 19 21 I was able to temporarily resolve the issue by patching the following function (wp-content/plugins/bbpress/includes/extend/buddypress/loader.php): 20 22 21 23 Line 153 being the "new BBP_BuddyPress_Activity()" line. 24 {{{ 22 25 /** 23 26 * Instantiate classes for BuddyPress integration … … 41 44 } 42 45 46 }}} 43 47 44 48 Patched code: 49 50 {{{ 45 51 // Create new activity class 46 52 if ( bp_is_active( 'activity' ) ) { … … 51 57 bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity(); 52 58 } 59 }}} 53 60 54 61 Let me know if there's any additional information that would be helpful.