shawfactor / lh-user-taxonomies

This is a WordPress plugin that extends the default taxonomy functionality to users
10 stars 11 forks source link

Clash with BuddyPress? #8

Open gyrus opened 8 years ago

gyrus commented 8 years ago

There seems to be a minor clash with BuddyPress. BP registers a taxonomy called bp_member_type which is non-public, and is assigned to the user object. I'm not sure of the ins and outs of what BP does with this, but it ends up in this plugin's self::$taxonomies array, which I'm not sure it's supposed to, and causes all manner of PHP notices and warnings because the right properties aren't defined.

gyrus commented 8 years ago

Actually, if you've got PHP error reporting so it shows notices, this seems to break saving a user in admin. This plugin generates two notices (I think because if this issue), then there's a 'cannot modify header' error. I think the user data is saved, but you have to back out of this error screen. Can be very annoying while developing.