diff --git a/modules/format_strawberryfield_views/src/Plugin/views/display_extender/StrawberryAjaxInteractions.php b/modules/format_strawberryfield_views/src/Plugin/views/display_extender/StrawberryAjaxInteractions.php index 11c15726..d2e12f77 100644 --- a/modules/format_strawberryfield_views/src/Plugin/views/display_extender/StrawberryAjaxInteractions.php +++ b/modules/format_strawberryfield_views/src/Plugin/views/display_extender/StrawberryAjaxInteractions.php @@ -44,8 +44,8 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { '#title' => $this->t( 'Which Contextual filters (if any) should allow input from other ADOs' ), - '#options' => $all_exposed_arguments, - '#default_value' => $this->options['sbf_ajax_interactions_arguments'] ?? NULL, + '#options' => $all_exposed_arguments ?? [], + '#default_value' => $this->options['sbf_ajax_interactions_arguments'] ?? [], '#states' => [ 'enabled' => [ ':input[name="sbf_ajax_interactions"]' => ['checked' => TRUE],