diff --git a/includes/core/class-fields.php b/includes/core/class-fields.php index 704228fa..8ed31ee5 100644 --- a/includes/core/class-fields.php +++ b/includes/core/class-fields.php @@ -87,7 +87,12 @@ if ( ! class_exists( 'um\core\Fields' ) ) { foreach ( $social as $k => $arr ) { if ( um_profile( $k ) ) { - $match = is_array( $arr['match'] ) ? $arr['match'][0] : $arr['match']; ?> + if ( array_key_exists( 'match' , $arr ) ) { + $match = is_array( $arr['match'] ) ? $arr['match'][0] : $arr['match']; + } else { + $match = null; + } + ?>