Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in D:\IIS\HISKART\SITE 11SEP\wp-content\themes\linea\functions.php:1023
Stack trace:
#0 D:\IIS\HISKART\SITE 11SEP\wp-content\themes\linea\functions.php(1023): in_array()
#1 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp-hook.php(326): get_subcategory_terms()
#2 D:\IIS\HISKART\SITE 11SEP\wp-includes\plugin.php(205): WP_Hook->apply_filters()
#3 D:\IIS\HISKART\SITE 11SEP\wp-includes\taxonomy.php(1354): apply_filters()
#4 D:\IIS\HISKART\SITE 11SEP\wp-content\plugins\all-in-one-seo-pack\modules\aioseop_sitemap.php(4546): get_terms()
#5 D:\IIS\HISKART\SITE 11SEP\wp-content\plugins\all-in-one-seo-pack\modules\aioseop_sitemap.php(2189): All_in_One_SEO_Pack_Sitemap->get_tax_args()
#6 D:\IIS\HISKART\SITE 11SEP\wp-content\plugins\all-in-one-seo-pack\modules\aioseop_sitemap.php(1735): All_in_One_SEO_Pack_Sitemap->get_sitemap_index_filenames()
#7 D:\IIS\HISKART\SITE 11SEP\wp-content\plugins\all-in-one-seo-pack\modules\aioseop_sitemap.php(2280): All_in_One_SEO_Pack_Sitemap->get_sitemap_data()
#8 D:\IIS\HISKART\SITE 11SEP\wp-content\plugins\all-in-one-seo-pack\modules\aioseop_sitemap.php(1805): All_in_One_SEO_Pack_Sitemap->do_build_sitemap()
#9 D:\IIS\HISKART\SITE 11SEP\wp-content\plugins\all-in-one-seo-pack\modules\aioseop_sitemap.php(1680): All_in_One_SEO_Pack_Sitemap->do_rewrite_sitemap()
#10 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp-hook.php(324): All_in_One_SEO_Pack_Sitemap->sitemap_output_hook()
#11 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp-hook.php(348): WP_Hook->apply_filters()
#12 D:\IIS\HISKART\SITE 11SEP\wp-includes\plugin.php(565): WP_Hook->do_action()
#13 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp-query.php(1140): do_action_ref_array()
#14 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp-query.php(1868): WP_Query->parse_query()
#15 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp-query.php(3824): WP_Query->get_posts()
#16 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp.php(696): WP_Query->query()
#17 D:\IIS\HISKART\SITE 11SEP\wp-includes\class-wp.php(816): WP->query_posts()
#18 D:\IIS\HISKART\SITE 11SEP\wp-includes\functions.php(1336): WP->main()
#19 D:\IIS\HISKART\SITE 11SEP\wp-blog-header.php(16): wp()
#20 D:\IIS\HISKART\SITE 11SEP\index.php(17): require('...')
#21 {main}
thrown in D:\IIS\HISKART\SITE 11SEP\wp-content\themes\linea\functions.php on line 1023
WordPress › Error