backdrop-ops / localize.backdropcms.org

Host translation files for Backdrop CMS.
2 stars 4 forks source link

Warning message on submitting translations #38

Open robertgarrigos opened 4 years ago

robertgarrigos commented 4 years ago

I get this warning:

Warning: count(): Parameter must be an array or an object that implements Countable in l10n_community_translate_form_submit() (line 836 of /home/localize/repo/www/sites/all/modules/contrib/l10n_server/l10n_community/translate.inc).

when submitting translations.

robertgarrigos commented 4 years ago

I couldn't find any related issue in drupal's issue queue

olafgrabienski commented 4 years ago

@robertgarrigos Thanks for the report! Can you add some details? E.g. did you submit the translations on the "Translate" page or did you import a language file?

robertgarrigos commented 4 years ago

I was translating at the web page (https://localize.backdropcms.org/translate/languages/ca/translate?project=backdropcms)

olafgrabienski commented 4 years ago

Confirmed, I see the same error when I translate a string on the "Translate" page, e.g. https://localize.backdropcms.org/translate/languages/de/translate.

Not being a coder I've no idea about the reason ... except, the message somehow sounds like a PHP version issue (PHP on the site is 7.2.16).

robertgarrigos commented 4 years ago

well, it's strange, because I couldn't find an issue about this on d.o.