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.
warning: explode() [function.explode]: Empty delimiter in /xxx/sites/all/modules/invoice/invoice_helpers.inc on line 98.
warning: implode() [function.implode]: Invalid arguments passed in /xxx/sites/all/modules/invoice/invoice_helpers.inc on line 111.
This repeats about a dozen times. The line of code in question is:
$number = implode($locale['mon_decimal_point'], $number);
The problem is $locale['mon_decimal_point'] is an empty string.
decimal_point (String, 1 characters ) .
mon_decimal_point (String, 0 characters )
So I changed it to decimal_point for the time being.
Comments
Comment #1
tomotomo CreditAttribution: tomotomo commentedsetlocale(LC_MONETARY, variable_get('invoice_locale', 'en_US.utf8'));
Wrong locale?
Comment #2
pietervogelaar CreditAttribution: pietervogelaar commentedA wrong locale will indeed be the probably reason.
Pieter