Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-4874

editor_ModelInstances::language(): Argument #1 ($id) must be of type int, null given

XMLWordPrintable

      Problem

      The following traceback occurs in pre-translation:

      editor_ModelInstances::language(): Argument #1 ($id) must be of type int, null given, called in /var/www/instances-local/instance-1189/application/modules/editor/Services/Connector/Abstract.php on line 612

      Looks like the real cause is the problem with the DeepL api key a few seconds earlier. So this problem needs to be catched better. Stangely only in 1 of the 2 tasks where the error occured have a preceding DeepL api key error. So possibly the reason is something else. See dev comment.

      Solution

      Fix it.

            leonkiz Leon Kiz
            marcmittag Marc Mittag [Administrator]
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: