• Resolved zamson

    (@zamson)


    Getting this error “Notice: Undefined index: in /plugins/woocommerce-multilingual/inc/class-wcml-attributes.php on line 396“.

    Seems to be related to the explode function of the string $taxonomy. In my case the $taxonomy is empty and therefore the function fails. Solved it my wrapping it in a conditional.

    if ( !empty( $taxonomy ) ) {
    	$trnsl_attr_values = explode( '|', $unserialized_trnsl_product_attributes[ $taxonomy ][ 'value' ] );
    }

    Don’t know if this is a correct fix but please look into it for future versions.

Viewing 1 replies (of 1 total)
  • Hello and thank you for contacting us.
    Where exactly this notice is appearing?
    Can you please provide more information on how to reproduce this? What steps did you take for it to appear?

Viewing 1 replies (of 1 total)
  • The topic ‘Notice: Undefined index’ is closed to new replies.