diff --git a/oe_theme.theme b/oe_theme.theme index 65cf58993..721704595 100644 --- a/oe_theme.theme +++ b/oe_theme.theme @@ -1248,7 +1248,7 @@ function _oe_theme_preprocess_search_input_text(array $element): array { // Process element attributes into an ECL input array. $ecl_array = [ 'id' => $element['#attributes']['id'], - 'name' => $element['#attributes']['name'], + 'name' => $element['#attributes']['name'] ?? '', 'disabled' => $element['#attributes']['disabled'] ?? FALSE, 'type' => $element['#attributes']['type'], 'class' => $element['#attributes']['class'],