Notice: Undefined offset: 0 in elasticsearch_aws_connector_form_alter() (line 20 of ... elasticsearch_aws_connector.module).

Created on 19 October 2017, over 7 years ago
Updated 15 May 2025, 23 days ago

Notice: Undefined offset: 0 in elasticsearch_aws_connector_form_alter() (line 20 of /elasticsearch_aws_connector/elasticsearch_aws_connector.module).

This happens on every page there is form and that is not elasticsearch_connector_edit_cluster form. The problem is quite obvious. $cluster = $form_state['build_info']['args'][0]; is outside of the form id check.

function elasticsearch_aws_connector_form_alter(&$form, &$form_state, $form_id){

  $cluster = $form_state['build_info']['args'][0];
  if ($form_id == 'elasticsearch_connector_edit_cluster') {
πŸ› Bug report
Status

Closed: won't fix

Version

5.0

Component

Code

Created by

πŸ‡ͺπŸ‡ͺEstonia hkirsman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024