diff --git a/includes/class-coblocks-form.php b/includes/class-coblocks-form.php index 3c53289492c..09665836926 100644 --- a/includes/class-coblocks-form.php +++ b/includes/class-coblocks-form.php @@ -893,6 +893,12 @@ public function process_form_submission( $atts ) { foreach ( $_POST as $key => $data ) { + if ( ! is_array( $data ) ) { + + continue; + + } + if ( is_array( $data['value'] ) ) { $data['value'] = implode( ', ', $data['value'] );