Conversation
supportHello, i am getting error on this files line number 386 and in line number 386 code below $term_count_differential[ $taxonomy ][ $term_id ] = 0; foreach ( $taxonomies as $taxonomy ) { // Getting product terms $term_ids = wp_get_post_terms( $product_id, $taxonomy, array( ‘fields’ => ‘ids’ ) ); if ( ! empty( $term_ids ) ) { foreach ( $term_ids as $term_id ) { if ( ! isset( $term_count_differential[ $taxonomy ][ $term_id ] ) ) { $term_count_differential[ $taxonomy ][ $term_id ] = 0; } $term_count_differential[ $taxonomy ][ $term_id ]++; } } } wp-content/plugins/product-visibility-by-user-role-for-woocommerce/includes/class-alg-wc-pvbur-core.php on line 386 Can you please help to fix the issue permanently ? The page I need help with: [ log in to see the link]
Hi there, Sorry you’re having trouble. For support, please open a ticket via our website here: https://wpwham.com/support/ so that we can assist you. Thanks in advance, WP Wham Support
Hello after 2 month same issue when we update anything on website or products website down and showing error if ( ! empty( $term_ids ) && ! is_wp_error( $term_ids ) ) { foreach ( $term_ids as $term_id ) { if ( ! isset( $term_count_differential[ $taxonomy ][ $term_id ] ) ) { $term_count_differential[ $taxonomy ][ $term_id ] = 0; } $term_count_differential[ $taxonomy ][ $term_id ]++; } }
Please log a support ticket as mentioned. Thanks in advance, Megan Support Co-ordinator
Hi there, Sorry you’re having trouble. For support, please open a ticket via our website here: https://wpwham.com/support/ so that we can assist you. Thanks in advance, WP Wham Support
Hello after 2 month same issue when we update anything on website or products website down and showing error if ( ! empty( $term_ids ) && ! is_wp_error( $term_ids ) ) { foreach ( $term_ids as $term_id ) { if ( ! isset( $term_count_differential[ $taxonomy ][ $term_id ] ) ) { $term_count_differential[ $taxonomy ][ $term_id ] = 0; } $term_count_differential[ $taxonomy ][ $term_id ]++; } }
Please log a support ticket as mentioned. Thanks in advance, Megan Support Co-ordinator