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

Error in clean up tasks

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • None
    • None
    • Translate5 CLI

    Description

      problem

      FATAL: E1027 - PHP E_ERROR: Uncaught TypeError: Argument 1 passed to editor_Models_Task_Remover::cleanupProject() must be of the type int, null given, called in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php on line 67 and defined in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php:95
      in core /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php (95) by /database/forceimportall
      [17-Feb-2021 22:41:21 Europe/Vienna] PHP Fatal error: Uncaught TypeError: Argument 1 passed to editor_Models_Task_Remover::cleanupProject() must be of the type int, null given, called in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php on line 67 and defined in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php:95
      Stack trace:
      #0 /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php(67): editor_Models_Task_Remover->cleanupProject(NULL)
      #1 /webs/shared-translate5-instance-files/Translate5/MaintenanceCli/Command/TaskCleanCommand.php(196): editor_Models_Task_Remover->remove(true)
      #2 /webs/shared-translate5-instance-files/Translate5/MaintenanceCli/Command/TaskCleanCommand.php(120): Translate5\MaintenanceCli\Command\TaskCleanCommand->handleImportTasks(Array)
      #3 /webs/shared-translate5-instance-files/vendor/symfony/console/Command/Command.php(258): Translate5\MaintenanceCli\Command\TaskCleanCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #4 /webs/shared-translate5-instance-files/vendor/symfony/console/Application.php(911): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #5 /webs/shared-translate5-instance-files/vendor/symfony/console/Application.php(264): Symfony\Component\Console\Application->doRunCommand(Object(Translate5\MaintenanceCli\Command\TaskCleanCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #6 /webs/shared-translate5-instance-files/vendor/symfony/console/Application.php(140): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
      #7 /webs/demo.translate5.net/Translate5/maintenance-cli.php(84): Symfony\Component\Console\Application->run()
      #8 {main}
      thrown in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php on line 95
      [17-Feb-2021 22:41:21 Europe/Vienna] FATAL: E1027 - PHP E_ERROR: Uncaught TypeError: Argument 1 passed to editor_Models_Task_Remover::cleanupProject() must be of the type int, null given, called in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php on line 67 and defined in /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php:95
      in core /webs/demo.translate5.net/application/modules/editor/Models/Task/Remover.php (95) by /database/forceimportall

      Attachments

        Activity

          People

            marcmittag Marc Mittag [Administrator]
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: