Call to undefined function stormattribute_attributes_bydomain
Fatal error: Call to undefined function stormattribute_attributes_bydomain() in ~/sites/all/modules/contrib/storm/storminvoice/storminvoice.theme.inc on line 703
If I grep the modules folder I see it called in these places but not as a funtion.
contrib/storm/storminvoice/storminvoice.theme.inc:429: $currencies = stormattribute_attributes_bydomain('Currency');
contrib/storm/storminvoice/storminvoice.theme.inc:488: $countries = stormattribute_attributes_bydomain('Country');
contrib/storm/storminvoice/storminvoice.theme.inc:491: $currencies = stormattribute_attributes_bydomain('Currency');
contrib/storm/storminvoice/storminvoice.theme.inc:705: $countries = stormattribute_attributes_bydomain('Country');
contrib/storm/storminvoice/storminvoice.theme.inc:707: $currencies = stormattribute_attributes_bydomain('Currency');
I did not see anything here
http://drupal.org/node/628258
or in the Install area related to the HTML Print feature.
Once I removed these lines with // and then made an empty $country = array(); variable it all worked.
Sorry if I missed some obvious doc. And I am more then willing to submit a patch if needed.
Thanks!
Comment | File | Size | Author |
---|---|---|---|
#1 | stash--invoice-html-wsod.patch | 1.65 KB | John Franklin |
Comments
Comment #1
John Franklin CreditAttribution: John Franklin commentedI ran into this last night, myself. The
stormattribute_attributes_bydomain()
should bestorm_attributes_bydomain()
. Patch attached.Comment #2
juliangb CreditAttribution: juliangb commentedThanks for the report and patch. Correct diagnosis.
I will commit when next online and will release a next beta on Saturday.
Comment #3
juliangb CreditAttribution: juliangb commentedCommitted, thanks.
Comment #4
yurtboy CreditAttribution: yurtboy commentedthanks!