diff --git a/src/MultipleInput.php b/src/MultipleInput.php
index <HASH>..<HASH> 100644
--- a/src/MultipleInput.php
+++ b/src/MultipleInput.php
@@ -159,6 +159,10 @@ class MultipleInput extends InputWidget
                 ? ArrayHelper::getValue($this->model, $this->attribute, [])
                 : [];
 
+            if (!is_array($data) && empty($data)) {
+                return;
+            }
+
             foreach ((array) $data as $index => $value) {
                 $this->data[$index] = $value;
             }
Do not render row if data is empty