The environment at the time:
WP 6.4.1
BP 12.0.0.beta4
PHP 7.4.33
rtMedia plugin 4.6.15
Classic plugin 1.1.0
Active components:
Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
Active template pack:
BuddyPress Nouveau
Parent theme:
Twenty Eleven
Note: Any WP branch compatiple with BP 12.0.0, either BP template pack, and any compatible WP theme is sufficient to replicate this issue.
The key factors are "User Groups" enabled, the rtMedia plugin active and visiting a group page, e.g., site.url/groups/name_of_group/, will result with the following error notice to be thrown:
Notice: Trying to get property 'inc_dir' of non-object in /wp-content/plugins/bp-classic/inc/core/widgets.php on line 122
Offhand, it looks like there is an issue with timing of when the property "inc_dir" is available. Additionally, while on group page any cause for a page refresh, e.g, clicking on a group menu item, causes the same error to be thrown.
The environment at the time:
WP 6.4.1
BP 12.0.0.beta4
PHP 7.4.33
rtMedia plugin 4.6.15
Classic plugin 1.1.0
Active components:
Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
Active template pack:
BuddyPress Nouveau
Parent theme:
Twenty Eleven
Note: Any WP branch compatiple with BP 12.0.0, either BP template pack, and any compatible WP theme is sufficient to replicate this issue.
The key factors are "User Groups" enabled, the rtMedia plugin active and visiting a group page, e.g., site.url/groups/name_of_group/, will result with the following error notice to be thrown:
Notice: Trying to get property 'inc_dir' of non-object in /wp-content/plugins/bp-classic/inc/core/widgets.php on line 122Offhand, it looks like there is an issue with timing of when the property "inc_dir" is available. Additionally, while on group page any cause for a page refresh, e.g, clicking on a group menu item, causes the same error to be thrown.