Skip to:

#3038 closed defect (fixed)

Call to undefined function bbp_admin_upgrade_user_subscriptions()

Reported by: Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Subscriptions Keywords:


On trying out 2.6 (beta 1) from within a WP install where the current stable version was previously installed, I encountered the following error:

Fatal error: Uncaught Error: Call to undefined function bbp_admin_upgrade_user_subscriptions() in bbpress/includes/core/update.php on line 326

Looking at this ticket it seems like the function in question was renamed to bbp_admin_upgrade_user_topic_subscriptions(), which is probably at the source of this issue :-)

Attachments (1)

3038-fix-upgrade-user-topics-call.diff (425 bytes) - added by 14 months ago.

Download all attachments as: .zip

Change History (4)

#1 @John James Jacoby
14 months ago

Yep. That stinks. Thanks for this. It should probably call the _forums_ one too.

#2 @Stephen Edgar
14 months ago

  • Component changed from General to API - Subscriptions
  • Milestone changed from Awaiting Review to 2.6
  • Version set to trunk


#3 @Stephen Edgar
14 months ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r6232:

Subscriptions: Update the forum and topic subscriptions 2.6 database update routine.

Previously in r6193 the topic subscription update tool was renamed from bbp_admin_upgrade_user_subscriptions() to bbp_admin_upgrade_user_topic_subscriptions() to facilitate the addition of the forum subscription update tool bbp_admin_upgrade_user_forum_subscriptions().

This changeset updates the bbp_version_updater() 2.6 database update to run both the above upgrade tools.

Props Fixes #3038.

Note: See TracTickets for help on using tickets.