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

PHP error on deleting tasks

    XMLWordPrintable

Details

    • High
    • Hide
      Fixed seldom problem on deleting tasks:
      ERROR in core: E9999 - Argument 1 passed to editor_Models_Task_Remover::cleanupProject() must be of the type int, null given
      Show
      Fixed seldom problem on deleting tasks: ERROR in core: E9999 - Argument 1 passed to editor_Models_Task_Remover::cleanupProject() must be of the type int, null given

    Description

      problem

      See below trace.

      reproduction

      Not reproducible

      trace

      Exception: TypeError
      Level: ERROR
      Errorcode: E9999
      Message: Argument 1 passed to editor_Models_Task_Remover::cleanupProject() must be of the type int, null given, called in application/modules/editor/Models/Task/Remover.php on line 67
      Domain: core
      Version: 5.1.3
      File (Line): application/modules/editor/Models/Task/Remover.php (95)
      Request: DELETE /editor/task/4?_dc=1620390114976
      Trace:

      #0 application/modules/editor/Models/Task/Remover.php(67): editor_Models_Task_Remover->cleanupProject()
      #1 application/modules/editor/Controllers/TaskController.php(1566): editor_Models_Task_Remover->remove()
      #2 vendor/shardj/zf1-future/library/Zend/Controller/Action.php(516): editor_TaskController->deleteAction()
      #3 library/ZfExtended/Controllers/AAARestController.php(286): Zend_Controller_Action->dispatch()
      #4 vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php(308): ZfExtended_RestController->dispatch()
      #5 vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
      #6 vendor/shardj/zf1-future/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
      #7 vendor/shardj/zf1-future/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
      #8 library/ZfExtended/Application.php(47): Zend_Application->run()
      #9 library/ZfExtended/BaseIndex.php(149): ZfExtended_Application->run()
      #10 public/index.php(35): ZfExtended_BaseIndex->startApplication()
      #11 {main}

      Attachments

        Activity

          People

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: