Support » Plugin: YITH WooCommerce Membership » Membership options page fatal error

  • In case if assigned to membership product was deleted, it will cause fatal error on product select box output.

    Fix:

    wp-content/plugins/yith-woocommerce-membership/includes/class.ajax-products-field.php : 96-100

    
    if ( $option_value != '' && get_post( $option_value ) ) {
        $product       = wc_get_product( $option_value );
        $data_selected = wp_kses_post( $product->get_formatted_name() );
        $value         = $option_value;
    }
    
Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    thanks for your segnalation.

    Our developers are releasing a new version of YITH WooCommerce Membership(1.0.7) that fixes this issue.

    Best Regards
    YIThemes

Viewing 1 replies (of 1 total)
  • The topic ‘Membership options page fatal error’ is closed to new replies.