Skip to:
Content

BuddyPress.org

Opened 9 months ago

Last modified 6 months ago

#9275 assigned defect (bug)

Fatal error when UpdraftPlus is activated

Reported by: mafalda1426's profile mafalda1426 Owned by: espellcaste's profile espellcaste
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.

Attachments (1)

Screenshot_2025-03-18_at_12_01_26.jpg (166.5 KB) - added by mafalda1426 9 months ago.

Download all attachments as: .zip

Change History (4)

#1 @espellcaste
9 months ago

  • Owner set to espellcaste
  • Status changed from new to assigned

This ticket was mentioned in Slack in #buddypress by espellcaste. View the logs.


9 months ago

#3 @rollybueno
6 months ago

  • Keywords needs-patch added

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.

Note: See TracTickets for help on using tickets.