Title: get_terms and term_query return empty array on multisite
Last modified: February 17, 2021

---

# get_terms and term_query return empty array on multisite

 *  Resolved [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * (@kevinbrands)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/get_terms-and-term_query-return-empty-array-on-multisite/)
 * Hello,
 * We developed a multisite.
 * We have a custom post type called ‘products’ and a custom taxonomy called ‘producttype’.
   On the archive page of the custom post type, we use ‘get_terms’ to display all
   the ‘producttypes’. This works on all the subsites in the multisite, except the
   first. When we use ‘get_terms’ or even a ‘term_query’, we get an empty array 
   as result.
 * I’m not sure what I’m doing wrong here, it seems multisite specific.
 * So it doesn’t work here: [https://www.wassenburgmedical.com/products/](https://www.wassenburgmedical.com/products/)
   
   But it does work here: [https://www.wassenburgmedical.com/uk/products/](https://www.wassenburgmedical.com/uk/products/)
   or here: [https://www.wassenburgmedical.com/nl/producten/](https://www.wassenburgmedical.com/nl/producten/)
 * Could you help me out?
 * Thanks in advance!
    -Kevin
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fget_terms-and-term_query-return-empty-array-on-multisite%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * (@kevinbrands)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/get_terms-and-term_query-return-empty-array-on-multisite/#post-14064125)
 * Additionally: I also see that the single pages of the terms are not accessible.
 * For example: [https://www.wassenburgmedical.com/producttype/washer-disinfectors/](https://www.wassenburgmedical.com/producttype/washer-disinfectors/)
   or:
    [https://www.wassenburgmedical.com/producttype/drying-cabinets/](https://www.wassenburgmedical.com/producttype/drying-cabinets/)
 * But they do work on the other subsites, for example: [https://www.wassenburgmedical.com/uk/producttype/washer-disinfectors/](https://www.wassenburgmedical.com/uk/producttype/washer-disinfectors/)
   or:
    [https://www.wassenburgmedical.com/uk/producttype/drying-storage-cabinets/](https://www.wassenburgmedical.com/uk/producttype/drying-storage-cabinets/)
 *  Thread Starter [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * (@kevinbrands)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/get_terms-and-term_query-return-empty-array-on-multisite/#post-14072840)
 * I’ve checked all the plugins, and if there’s a difference between the other subsites
   and the main subsite. But there is no difference in the used plugins.
 * What could be going on here?
 *  Thread Starter [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * (@kevinbrands)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/get_terms-and-term_query-return-empty-array-on-multisite/#post-14074354)
 * I’ve found the cause: a plugin named Simple Custom Post Order ([https://nl.wordpress.org/plugins/simple-custom-post-order/](https://nl.wordpress.org/plugins/simple-custom-post-order/))
   causes this.
 * Topic can be closed.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘get_terms and term_query return empty array on multisite’ is closed to
new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 1 participant
 * Last reply from: [kevinbrands](https://wordpress.org/support/users/kevinbrands/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/get_terms-and-term_query-return-empty-array-on-multisite/#post-14074354)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
