Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
after first installation of Commerce Email, i get this error:
•Notice: Undefined index: module en variable_type_include() (línea 421 de .../modules/variable/variable.module).
•Notice: Undefined index: module en variable_type_include() (línea 421 de .../modules/variable/variable.module).
•Notice: Undefined index: module en variable_type_include() (línea 421 .
i have commerce 7.x-1.2 and multilanguage, variable 7x.1.1 and variable email.
Comments
Comment #1
timodwhit CreditAttribution: timodwhit commentedSame. Any update?
Comment #2
Fernly CreditAttribution: Fernly commentedI got the same issue. It seems there is a problem with the email's body field?
Comment #3
Fernly CreditAttribution: Fernly commentedThe problem lays within the variable_email module.
In the file variable_email.variable.inc change this function:
to
Changes are on line 28:
The variable type of the email body can't be "text_format", this has to be "text".
The field is now displayed as a textarea, no text filters available here. But at least we now have a field to edit the mail body. Perhaps some more changes are needed? Cheers.
Comment #4
timodwhit CreditAttribution: timodwhit commentedIt would be nice to be able to filter what type of text is used, but making the change is hugely beneficial and now addresses the issue as to why this module wasn't displaying properly! Thanks for the fix!
This was definitely a highlight of the week for me. :-)
Comment #5
elmotri CreditAttribution: elmotri commentedWorks with the dev version of variable. http://drupal.org/project/variable
Comment #6
aidanlis CreditAttribution: aidanlis commentedNot for me ...
Comment #7
aidanlis CreditAttribution: aidanlis commentedThe change in #3 works for me.
Comment #8
Denes.Szabo CreditAttribution: Denes.Szabo commentedAfter upgrade the variable module to the dev version, then it works.
Comment #9
kristofferwiklund CreditAttribution: kristofferwiklund commentedUpgrading the variable module to the dev version also works for me.
Comment #10
drasgardian CreditAttribution: drasgardian commentedUpgrading the variable module to the latest dev did not fix this for me. But the change in #3 did work.
Comment #11
mgiffordMoving this to the Variable module as this seems to be where it should be managed.