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 I got the error:
•warning: Missing argument 2 for i18nstrings(), called in /var/www/sites/all/modules/better_formats/better_formats.module on line 633 and defined in /var/www/sites/all/modules/i18n/i18nstrings/i18nstrings.module on line 1097.
Fix was:
diff /var/www/sites/all/modules/better_formats/better_formats.module /var/www/sites/all/modules/better_formats/better_formats.module.orig
633c633
< $text = i18nstrings('better_formats', $text);
---
> $text = i18nstrings($text);
I'm not sure if this is actually correct, the api doc for i18nstrings() is not that great.
Comments
Comment #1
dragonwize CreditAttribution: dragonwize commentedYeah, they changed the function and signature in the new versions hoping they will find the right one and stick with it. Thanks, I'll check it out and commit later, don't have the time atm.
Comment #2
dragonwize CreditAttribution: dragonwize commentedThanks. Fixed.