When custom menu link translation is enabled in the Admin/Configuration/Regionalandlanguage the settings tab under /translation/dashboard/settings is not accessable at all; the error details are:
InvalidArgumentException: $string ("Custom menu link") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 145 of core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php).

The only way to access the settings: /translation/dashboard/settings is to disable 'Custom menu link' under Admin/Configuration/Regionalandlanguage.

Comments

Kubair created an issue. See original summary.

Kubair’s picture

Priority: Critical » Major
penyaskito’s picture

StatusFileSize
new4.03 KB
new4.72 KB

Thanks for reporting @Kubair!

Attached a fix for fixing this issue.

penyaskito’s picture

Status: Active » Needs review

The last submitted patch, 3: 2615878-3.only-tests.patch, failed testing.

The last submitted patch, 3: 2615878-3.only-tests.patch, failed testing.

penyaskito’s picture

Status: Needs review » Fixed
Issue tags: -core, -lingotek

Committed and pushed to 8.x-1.x.

Thanks @Kudair for reporting, really appreciated.

  • penyaskito committed 5c81c9f on 8.x-1.x
    Issue #2615878 by penyaskito, Kubair: InvalidArgumentException error...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.