[buddypress-trac] [BuddyPress Trac] #9227: Fatal error due to bp_get_object_terms function
buddypress-trac
noreply at wordpress.org
Mon Aug 19 20:23:00 UTC 2024
#9227: Fatal error due to bp_get_object_terms function
--------------------------+---------------------
Reporter: raviousprime | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 14.1.0
Component: Members | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+---------------------
Changes (by imath):
* priority: high => normal
* component: Core => Members
* severity: critical => normal
Comment:
@raviousprime If you get an `Invalid taxonomy` WP_Error, it means you're
trying to access to the Member Type taxonomy (`bp_member_type`) too early.
So your code won't work after we've fixed the fatal unfortunately.
The best way to be sure the Member Type taxonomy is registered is to wait
until the action hook `bp_register_taxonomies` is fired using priority 21
or later.
@espellcaste to me, it's not a regression introduced in 14.0.0 and the
root cause is a custom code that is wrongly trying to get something that
doesn't exist yet.
We need to fix it for sure, but I would do it during the 15.0.0 milestone
as I don't think it's an emergency justifying we bypass the main role of
14.x maintenance releases (fixing regressions introduced in 14.0).
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9227#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list