Getting the following error when using woo commerce tab manger with PCP
Fatal error: Uncaught Error: Call to a member function get_id() on null in /home/website/public_html/wp-content/themes/themename/inc/woocommerce/functions.php:769 Stack trace: #0 /home/website/public_html/wp-content/themes/theme/inc/woocommerce/class-theme-woocommerce.php(76): theme_wc_get_product_id(NULL) #1 /home/website/public_html/wp-includes/class-wp-hook.php(288): theme_WooCommerce->modify_product_tabs(Array) #2 /home/website/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #3 /home/website/public_html/wp-content/plugins/woocommerce-tab-manager/class-wc-tab-manager.php(611): apply_filters(‘woocommerce_pro…’, Array) #4 /home/website/public_html/wp-content/plugins/woocommerce-tab-manager/admin/woocommerce-tab-manager-admin-functions.php(161): WC_Tab_Manager->get_third_party_tabs() #5 /home/website/public_html/wp-content/plugins/woocommerce-tab-manager/admin/woocommerce-tab-manager-admin-global-layout.php(65): wc_tab_manager_sortable_product_tabs(false) #6 /home/compar in /home/website/public_html/wp-content/themes/theme/inc/woocommerce/functions.php on line 769
April 15, 2020 @ 10:44 am
Can you add more info about this?
apply_filters(‘woocommerce_pro…’, Array) #4
Whatever that plugin is that starts ‘woocommerce_pro…’ sounds like it’s causing your issue.