Fatal error: Uncaught TypeError: Illegal offset type in /home/pilotshop/public_html/wp-content/plugins/product-visibility-by-user-role-for-woocommerce/includes/class-alg-wc-pvbur-core.php:386
Stack trace:
#0 /home/pilotshop/public_html/wp-includes/class-wp-hook.php(353): Alg_WC_PVBUR_Core->pre_get_posts_hide_invisible_products(Object(WP_Query))
#1 /home/pilotshop/public_html/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array)
#2 /home/pilotshop/public_html/wp-includes/plugin.php(571): WP_Hook->do_action(Array)
#3 /home/pilotshop/public_html/wp-includes/class-wp-query.php(1916): do_action_ref_array('pre_get_posts', Array)
#4 /home/pilotshop/public_html/wp-includes/class-wp-query.php(3974): WP_Query->get_posts()
#5 /home/pilotshop/public_html/wp-includes/class-wp-query.php(4105): WP_Query->query(Array)
#6 /home/pilotshop/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-product-data-store-cpt.php(2080): WP_Query->__construct(Array)
#7 /home/pilotshop/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(224): WC_Product_Data_Store_CPT->query(Array)
#8 /home/pilotshop/public_html/wp-content/plugins/woocommerce/includes/class-wc-product-query.php(76): WC_Data_Store->__call('query', Array)
#9 /home/pilotshop/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php(49): WC_Product_Query->get_products()
#10 /home/pilotshop/public_html/wp-content/plugins/giftware/includes/class-ultimate-woocommerce-gift-cards-activation.php(528): wc_get_products(Array)
#11 /home/pilotshop/public_html/wp-content/plugins/giftware/includes/class-ultimate-woocommerce-gift-cards-activation.php(75): Ultimate_Woocommerce_Gift_Cards_Activation->wps_restore_giftcard_products_pro()
#12 /home/pilotshop/public_html/wp-content/plugins/giftware/admin/class-ultimate-woocommerce-gift-card-admin.php(3734): Ultimate_Woocommerce_Gift_Cards_Activation->wps_wgm_restore_data_pro()
#13 /home/pilotshop/public_html/wp-includes/class-wp-hook.php(353): Ultimate_Woocommerce_Gift_Card_Admin->wps_wgm_restore_gc_data_on_plugins_loaded('')
#14 /home/pilotshop/public_html/wp-includes/class-wp-hook.php(377): WP_Hook->apply_filters(NULL, Array)
#15 /home/pilotshop/public_html/wp-includes/plugin.php(523): WP_Hook->do_action(Array)
#16 /home/pilotshop/public_html/wp-settings.php(630): do_action('plugins_loaded')
#17 /home/pilotshop/public_html/wp-config.php(98): require_once('/home/pilotshop...')
#18 /home/pilotshop/public_html/wp-load.php(50): require_once('/home/pilotshop...')
#19 /home/pilotshop/public_html/wp-blog-header.php(13): require_once('/home/pilotshop...')
#20 /home/pilotshop/public_html/index.php(17): require('/home/pilotshop...')
#21 {main}
thrown in /home/pilotshop/public_html/wp-content/plugins/product-visibility-by-user-role-for-woocommerce/includes/class-alg-wc-pvbur-core.php on line 386