Title: Problem and solution
Last modified: August 21, 2016

---

# Problem and solution

 *  [artyfarty](https://wordpress.org/support/users/artyfarty/)
 * (@artyfarty)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/problem-and-solution/)
 * Hi,
 * I believe there is a problem in line 174, where
    `checked(true, is_object_in_term(
   $user->ID, $key, $term))`
 * should be
 * `checked(true, is_object_in_term($user->ID, $key, $term->term_id))`
 * Before I fixed this on the my-profile page the selection of the term didn’t function
   properly: two terms got selected instead of one.
 * [http://wordpress.org/plugins/user-taxonomies/](http://wordpress.org/plugins/user-taxonomies/)

The topic ‘Problem and solution’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/user-taxonomies.svg)
 * [User Taxonomies](https://wordpress.org/plugins/user-taxonomies/)
 * [Support Threads](https://wordpress.org/support/plugin/user-taxonomies/)
 * [Active Topics](https://wordpress.org/support/plugin/user-taxonomies/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-taxonomies/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-taxonomies/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [artyfarty](https://wordpress.org/support/users/artyfarty/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/problem-and-solution/)
 * Status: not resolved