Translation Editor saving issue

Elgg V: Release - 2.3.10, Version - 2016092300

Server : Apache/2.4.29 (Ubuntu)
Log Location : /var/log/apache2

 

PHP

PHP version : 7.2.10-0ubuntu0.18.04.1



Installed Translation Editor for 2.3: 
https://elgg.org/plugins/385116

Adding words to already existing languages works absolutely fine, saves, appears // OK
I can add new Language, and the one Ive tested is Norwegian, it adds fine to the list.

Upon going into the editor and trying to add the translations, nothing is saved and Apache Error is producing these:

[Tue Jan 01 15:37:56.965697 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_intersect_key(): Argument #1 is not an array" in file /var/www/dev/mod/translation_editor/lib/functions.php (line 221), referer: https://DOMAIN.COM/translation_editor/no/ckeditor

[Tue Jan 01 15:37:56.965844 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_key_exists() expects parameter 2 to be array, null given" in file /var/www/dev/mod/translation_editor/views/default/translation_editor/plugin_edit.php (line 24), referer: https://DOMAIN.COM/translation_editor/no/ckeditor
[Tue Jan 01 15:37:56.965878 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_key_exists() expects parameter 2 to be array, null given" in file /var/www/dev/mod/translation_editor/views/default/translation_editor/plugin_edit.php (line 29), referer: https://DOMAIN.COM/translation_editor/no/ckeditor
[Tue Jan 01 15:37:56.966406 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_key_exists() expects parameter 2 to be array, null given" in file /var/www/dev/mod/translation_editor/views/default/translation_editor/plugin_edit.php (line 24), referer: https://DOMAIN.COM/translation_editor/no/ckeditor
[Tue Jan 01 15:37:56.966473 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_key_exists() expects parameter 2 to be array, null given" in file /var/www/dev/mod/translation_editor/views/default/translation_editor/plugin_edit.php (line 29), referer: https://DOMAIN.COM/translation_editor/no/ckeditor
[Tue Jan 01 15:37:56.966876 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_key_exists() expects parameter 2 to be array, null given" in file /var/www/dev/mod/translation_editor/views/default/translation_editor/plugin_edit.php (line 24), referer: https://DOMAIN.COM/translation_editor/no/ckeditor
[Tue Jan 01 15:37:56.966910 2019] [php7:notice] [pid 16174] [client 82.26.15.78:57303] PHP WARNING: 2019-01-01 15:37:56 (GMT): "array_key_exists() expects parameter 2 to be array, null given" in file /var/www/dev/mod/translation_editor/views/default/translation_editor/plugin_edit.php (line 29), referer: https://DOMAIN.COM/translation_editor/no/ckeditor

No files produced in Elgg data directory at this stage, no visible error in ELGG, just this output in Apache.
Also no text actually saved.

Tried the same with Danish (already on the list in the plugin) - and it works fine here, outputs to data directory just fine.
Please note there are no character differences in these two languages, the only difference I can think of is that Norwegian had to be added manually, whilst Danish pre-existed.
I have also attempted to reinstall plugin with Cache Flush after each step / Adding - Activate - Adding new Language - etc, but this has also not made a difference.

Any suggestions for this error?

Thanks
  • Follow up information.

    Tried to add another language just to see if I could translate anything - added Swedish
    Same error occurs.

    Seems a conflict between already pre-packed languages within the Plugin, and languages added after/manually via plugin.

    What am I missing here? How can I resolve this?

  • Maybe release 6.1 from https://github.com/ColdTrick/translation_editor/releases works better. As I don't use the plugin I can't say. As for working with existing language files in plugins it might just be necessary to place the Translation Editor plugin below the other plugins you want to change the translation of.