The module currently does not implement the translatable variables correctly. It results in an error on the variable overview /admin/config/regional/i18n/variable (error: Notice: Undefined index: title in variable_realm_select_variables_form() (line 32 of sites/all/modules/variable/variable_realm/variable_realm.form.inc) and when submitting a webform (error: Warning: Illegal offset type in isset or empty in variable_store() (line 15 of sites/all/modules/variable/variable_store/variable_store.module).
Probably, there are other occasions where this error also occures.

CommentFileSizeAuthor
#2 smtp_variable-error_2734249_2-7.x.patch739 bytessammuell

Comments

sammuell created an issue. See original summary.

sammuell’s picture

StatusFileSize
new739 bytes

The culprit is a missing hook implementation of the variable module: smtp_variable_group_info(). I also took the liberty to generally improve the variable definition.

sammuell’s picture

Title: Notice: Undefined index: title in variable_realm_select_variables_form() (line 32 of sites\all\modules\variable\variable_realm\variable_realm.form.inc). » Missing hook implementation results in error
Issue summary: View changes
Status: Active » Needs review

|

damienmckenna’s picture

Status: Needs review » Reviewed & tested by the community

Seems correct.

damienmckenna’s picture

Status: Reviewed & tested by the community » Closed (duplicate)