array not saving

I have an array for custom fields (wordpress) but some of them have two words and in this case the info is not saved on database.
What am I doing wrong?

add_filter( 'rwmb_meta_boxes', 'your_prefix_meta_boxes' );
function your_prefix_meta_boxes( $meta_boxes ) {
$meta_boxes[] = array(
    'title'      => __( '[:en]Credits[:pt]Creditos[:]', 'textdomain' ),
    'post_types' => 'post',
    'fields'     => array(
        array(
            'id'   => 'Espaço/Venue',
            'name' => __( 'Espaço/Venue', 'textdomain' ),
            'type' => 'text',
        ),
        array(
            'id'   => 'Maquilhagem/Makeup Artist',
            'name' => __( 'Maquilhagem/Makeup Artist', 'textdomain' ),
            'type' => 'text',
        ),
        array(
            'id'   => 'Cabelos/Hair stylist',
            'name' => __( 'Cabelos/Hair stylist', 'textdomain' ),
            'type' => 'text',
        ),
        array(
            'id'   => 'Vestido de noiva/Bride´s dress',
            'name' => __( 'Vestido de noiva/Bride´s dress', 'textdomain' ),
            'type' => 'text',
        ),
        array(
            'id'   => 'Luzes, som e Dj/Lights and music',
            'name' => __( 'Luzes, som e Dj/Light´s and music', 'textdomain' ),
            'type' => 'text',
        ),

    ),
);
return $meta_boxes;
} 

“Espaço/Venue” is saving but “Cabelos/Hair stylist” is not.

Read more here: array not saving

Leave a Reply

Your email address will not be published. Required fields are marked *