Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, WP_Term given in /usr/www/users/helpnbkpjs/wp-content/plugins/ht-knowledge-base/php/ht-knowledge-base-category-ordering.php:50 Stack trace: #0 /usr/www/users/helpnbkpjs/wp-includes/class-wp-hook.php(310): HT_Knowledge_Base_Custom_Tax_Order->sort_kb_categories(Array) #1 /usr/www/users/helpnbkpjs/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #2 /usr/www/users/helpnbkpjs/wp-includes/taxonomy.php(1330): apply_filters('get_terms', Array, Array, Array, Object(WP_Term_Query)) #3 /usr/www/users/helpnbkpjs/wp-includes/taxonomy.php(2246): get_terms(Array) #4 /usr/www/users/helpnbkpjs/wp-includes/taxonomy.php(3755): wp_get_object_terms(Array, Array, Array) #5 /usr/www/users/helpnbkpjs/wp-includes/post.php(7464): update_object_term_cache(Array, Array) #6 /usr/www/users/helpnbkpjs/wp-includes/post.php(7895): update_post_caches(Array, 'any', true, true) #7 /usr/www/users/helpnbkpjs/wp-includes/class-wp-query.php(3267): _prime_post_caches(Array, true, true) #8 /usr/www/users/helpnbkpjs/wp-includes/class-wp-query.php(3749): WP_Query->get_posts() #9 /usr/www/users/helpnbkpjs/wp-includes/class-wp.php(663): WP_Query->query(Array) #10 /usr/www/users/helpnbkpjs/wp-includes/class-wp.php(783): WP->query_posts() #11 /usr/www/users/helpnbkpjs/wp-includes/functions.php(1332): WP->main('') #12 /usr/www/users/helpnbkpjs/wp-blog-header.php(16): wp() #13 /usr/www/users/helpnbkpjs/index.php(17): require('/usr/www/users/...') #14 {main} thrown in /usr/www/users/helpnbkpjs/wp-content/plugins/ht-knowledge-base/php/ht-knowledge-base-category-ordering.php on line 50