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.
I installed the module and then when I'm clicking on create invoice, I'm getting this warning message above the form. I'm not a coder, please guide me to resolve this issue.
Warning: explode(): Empty delimiter in _invoice_money_format() (line 149 of D:\xampp\htdocs\bpub1\sites\all\modules\invoice\invoice_helpers.inc).
Warning: implode(): Invalid arguments passed in _invoice_money_format() (line 162 of D:\xampp\htdocs\bpub1\sites\all\modules\invoice\invoice_helpers.inc).
Warning: explode(): Empty delimiter in _invoice_money_format() (line 149 of D:\xampp\htdocs\bpub1\sites\all\modules\invoice\invoice_helpers.inc).
Warning: implode(): Invalid arguments passed in _invoice_money_format() (line 162 of D:\xampp\htdocs\bpub1\sites\all\modules\invoice\invoice_helpers.inc).
Comments
Comment #1
casismary CreditAttribution: casismary commentedHello,
The reason why it doesn't work is because your system doesn't have a strfmon capabilities. (money_format() is undefined in Windows)
I have the same issue. At the moment, I'm using XAMPP on a windows machine.
In invoice_helpers.inc, just after the assignment :
I fixed it by putting directly the value :
This is a quick fix :(
Comment #2
thomasaaron CreditAttribution: thomasaaron commentedI swear, I have no idea how I'd ever complete my Drupal project if it weren't for people like you, Casism. Thanks for figuring that out.