Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning message on submitting translations #38

Open
robertgarrigos opened this issue Jul 4, 2020 · 5 comments
Open

Warning message on submitting translations #38

robertgarrigos opened this issue Jul 4, 2020 · 5 comments

Comments

@robertgarrigos
Copy link

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
Copy link
Author

robertgarrigos commented Jul 4, 2020

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

@olafgrabienski
Copy link

@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
Copy link
Author

@olafgrabienski
Copy link

olafgrabienski commented Jul 31, 2020

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants