Bootstrap 7.x-3.1-beta2+55-dev

mod_fcgid: stderr: PHP Fatal error: [] operator not supported for strings in ...... /sites/all/themes/bootstrap/templates/system/textfield.func.php on line 27

Fixed by editing line 27 from

$element['#attributes']['class'][] = 'form-autocomplete';

to

$element['#attributes']['class'] = 'form-autocomplete';

Comments

wundo’s picture

Status: Reviewed & tested by the community » Closed (works as designed)

There is an error with your environment, ['#attributes']['class'] is supposed to be an array, not a string.

markhalliwell’s picture

Priority: Major » Minor
Status: Closed (works as designed) » Closed (duplicate)
Related issues: +#2269653: [bootstrap][policy][7.x-3.x] CSS Classes (Fatal error: [] operator not supported for strings)