Skip to:
Content

#3038 closed defect (fixed)

Call to undefined function bbp_admin_upgrade_user_subscriptions()

Reported by: 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 17 months ago.

Download all attachments as: .zip

Change History (4)

#1 @johnjamesjacoby
17 months ago

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

#2 @netweb
17 months 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
17 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 barry.hughes. Fixes #3038.

Note: See TracTickets for help on using tickets.