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!

CommentFileSizeAuthor
#1 stash--invoice-html-wsod.patch1.65 KBJohn Franklin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

John Franklin’s picture

Status: Active » Needs review
FileSize
1.65 KB

I ran into this last night, myself. The stormattribute_attributes_bydomain() should be storm_attributes_bydomain(). Patch attached.

juliangb’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the report and patch. Correct diagnosis.

I will commit when next online and will release a next beta on Saturday.

juliangb’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks.

yurtboy’s picture

thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.