Warning: Undefined variable $afpvu_applied_categories in /homepages/28/d4298308183/htdocs/wordpress/wp-content/plugins/products-visibility-by-user-roles/class_afpvu_front.php on line 58

Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /homepages/28/d4298308183/htdocs/wordpress/wp-content/plugins/products-visibility-by-user-roles/class_afpvu_front.php:58 Stack trace: #0 /homepages/28/d4298308183/htdocs/wordpress/wp-content/plugins/products-visibility-by-user-roles/class_afpvu_front.php(58): in_array() #1 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/class-wp-hook.php(326): Addify_Products_Visibility_Front->afpvu_hide_terms() #2 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters() #3 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/taxonomy.php(1372): apply_filters() #4 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/taxonomy.php(2309): get_terms() #5 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/taxonomy.php(3827): wp_get_object_terms() #6 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/post.php(7882): update_object_term_cache() #7 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/class-wp-query.php(3334): _prime_post_caches() #8 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/class-wp-query.php(3824): WP_Query->get_posts() #9 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/class-wp.php(696): WP_Query->query() #10 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/class-wp.php(816): WP->query_posts() #11 /homepages/28/d4298308183/htdocs/wordpress/wp-includes/functions.php(1336): WP->main() #12 /homepages/28/d4298308183/htdocs/wordpress/wp-blog-header.php(16): wp() #13 /homepages/28/d4298308183/htdocs/wordpress/index.php(17): require('/homepages/28/d...') #14 {main} thrown in /homepages/28/d4298308183/htdocs/wordpress/wp-content/plugins/products-visibility-by-user-roles/class_afpvu_front.php on line 58