Skip to:
Content

bbPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#3038 closed defect (bug) (fixed)

Call to undefined function bbp_admin_upgrade_user_subscriptions()

Reported by: barryhughes's profile barry.hughes Owned by:
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Subscriptions Keywords:
Cc:

Description

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 https://bbpress.trac.wordpress.org/changeset/6193 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 barry.hughes 6 years ago.

Download all attachments as: .zip

Change History (5)

#1 @johnjamesjacoby
6 years ago

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

#2 @netweb
6 years ago

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

Thanks @barry.hughes

#3 @netweb
6 years 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 barry.hughes.
Fixes #3038.

#4 @johnjamesjacoby
4 years ago

Assigning all closed & unassigned tickets in the 2.6 milestone to myself.

Note: See TracTickets for help on using tickets.