[buddypress-trac] [BuddyPress Trac] #9227: Fatal error due to bp_get_object_terms function

buddypress-trac noreply at wordpress.org
Wed Aug 21 06:23:30 UTC 2024


#9227: Fatal error due to bp_get_object_terms function
--------------------------+---------------------
 Reporter:  raviousprime  |       Owner:  (none)
     Type:  enhancement   |      Status:  new
 Priority:  normal        |   Milestone:  15.0.0
Component:  Members       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+---------------------

Comment (by raviousprime):

 @imath @espellcaste The issue is caused by the user-switching plugin. On
 the init action, it switches the user. However, I am using this plugin as
 a mu-plugin, which causes the problem. Additionally, there is still an
 issue with the function `bp_get_object_terms`, specifically in the
 `array_merge` call. This function merges the result of
 `wp_get_object_terms` without checking whether the result is an array.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9227#comment:7>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list