Closed (duplicate)
Project:
Bootstrap
Version:
7.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 May 2015 at 19:15 UTC
Updated:
7 May 2015 at 08:03 UTC
Jump to comment: Most recent
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
Comment #1
wundo commentedThere is an error with your environment, ['#attributes']['class'] is supposed to be an array, not a string.
Comment #2
markhalliwell