Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, WP_Term given in /homepages/32/d4295016683/htdocs/wp-content/plugins/ht-knowledge-base/php/ht-knowledge-base-category-ordering.php:61 Stack trace: #0 /homepages/32/d4295016683/htdocs/wp-includes/class-wp-hook.php(290): HT_Knowledge_Base_Custom_Tax_Order->sort_kb_categories(Array) #1 /homepages/32/d4295016683/htdocs/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #2 /homepages/32/d4295016683/htdocs/wp-includes/taxonomy.php(1201): apply_filters('get_terms', Array, Array, Array, Object(WP_Term_Query)) #3 /homepages/32/d4295016683/htdocs/wp-includes/taxonomy.php(2028): get_terms(Array) #4 /homepages/32/d4295016683/htdocs/wp-includes/taxonomy.php(3405): wp_get_object_terms(Array, Array, Array) #5 /homepages/32/d4295016683/htdocs/wp-includes/post.php(6649): update_object_term_cache(Array, Array) #6 /homepages/32/d4295016683/htdocs/wp-includes/post.php(7036): update_post_caches(Array, 'any', true, true) #7 /homepages/32/d4295016683/htdocs/wp-includes/class-wp-query.php(2995): _prime_post_caches(Array, true, true) #8 /homepages/32/d4295016683/htdocs/wp-includes/class-wp-query.php(3409): WP_Query->get_posts() #9 /homepages/32/d4295016683/htdocs/wp-includes/class-wp.php(618): WP_Query->query(Array) #10 /homepages/32/d4295016683/htdocs/wp-includes/class-wp.php(735): WP->query_posts() #11 /homepages/32/d4295016683/htdocs/wp-includes/functions.php(1255): WP->main('') #12 /homepages/32/d4295016683/htdocs/wp-blog-header.php(16): wp() #13 /homepages/32/d4295016683/htdocs/index.php(17): require('/homepages/32/d...') #14 {main} thrown in /homepages/32/d4295016683/htdocs/wp-content/plugins/ht-knowledge-base/php/ht-knowledge-base-category-ordering.php on line 61