Intgeration with i18n

Created on 21 March 2013, over 12 years ago
Updated 25 June 2025, 10 days ago

Undefined index: #properties in i18n_field_field_widget_form() (line 254 of /var/www/www.my_site.com/sites/all/modules/i18n/i18n_field/i18n_field.module).

function i18n_field_field_widget_form in i18n_field.module line 254
the function trying get the widget properties from $element array

if ($element['#properties']['empty_option']) {
...
}

but you return from
hook_field_widget_form line 51 multiple_selects.module
$element without #properties index
because you put the $properties in $element['value'] and not into $element['#properties']
I think you need add #properties index befor return the $element from multiple_selects_field_widget_form line 51
like this
$element['#properties'] = $properties;

Sorry for my english ))!

🐛 Bug report
Status

Closed: won't fix

Version

1.2

Component

Code

Created by

🇮🇱Israel casperovich

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

Comments & Activities

Production build 0.71.5 2024