Opened 9 months ago
Last modified 6 months ago
#9275 assigned defect (bug)
Fatal error when UpdraftPlus is activated
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Awaiting Review | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Core | Keywords: | needs-patch |
| Cc: | mandy@… |
Description
Hi BuddyPress Team,
I encountered a fatal error in BuddyPress on a WordPress Multisite installation when trying to access the BuddyPress settings. The error occurred at:
/wp-admin/network/admin.php?page=bp-optouts
Error message:
Uncaught Error: Call to a member function prepare_items() on null in wp-content/plugins/buddypress/bp-core/admin/bp-core-admin-optouts.php on line 302
Issue discovered:
After troubleshooting, we found that the issue was caused by UpdraftPlus. Disabling UpdraftPlus resolved the error, and BuddyPress settings became accessible again.
Environment:
WordPress: 6.7.2
BuddyPress: 14.3.3
UpdraftPlus: 2.25.2.26
PHP: 8.2.28
Multisite: Yes
Would it be possible to adjust BuddyPress to prevent this error when UpdraftPlus is active? Let me know if you need more details!
Thanks for your help.
The latest UpdraftPlus is 1.25.6, so I think the version reported here should the premium version, which I don't have.
Not sure if we should check the global $bp_optouts_list_table first before rendering as it seems will be breaking the interface.