#3038 closed defect (bug) (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: | |
| 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)
Change History (5)
#2
@
9 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
@
9 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.
Yep. That stinks. Thanks for this. It should probably call the
_forums_one too.