PHP error on match-analysis worker trigger

XMLWordPrintable

      Problem

      When match analysis are triggered from the worker, there is an php fatal error.

      Stach trace

      Errorcode: E1027Errorcode: E1027Message: PHP E_ERROR: Uncaught TypeError: Argument 3 passed to editor_Plugins_MatchAnalysis_Analysis::__construct() must be of the type string, null given in /webs/XXXX.translate5.net/application/modules/editor/Plugins/MatchAnalysis/Analysis.php:102Domain: coreVersion: 3.3.1File (Line): /webs/XXXX.translate5.net/application/modules/editor/Plugins/MatchAnalysis/Analysis.php (102)Request: PUT /editor/worker/19338?cleanupSessionAfterRun=1Trace:
          Stack trace:    #0 [internal function]: editor_Plugins_MatchAnalysis_Analysis->_construct(Object(editor_Models_Task), '379', NULL)    #1 /webs/XXXX.translate5.net/library/ZfExtended/Factory.php(53): ReflectionClass->newInstanceArgs(Array)    #2 /webs/XXXX.translate5.net/application/modules/editor/Plugins/MatchAnalysis/Worker.php(110): ZfExtended_Factory::get('editor_Plugins...', Array)    #3 /webs/XXXX.translate5.net/application/modules/editor/Plugins/MatchAnalysis/Worker.php(56): editor_Plugins_MatchAnalysis_Worker->doWork()    #4 /webs/XXXX.translate5.net/library/ZfExtended/Worker/Abstract.php(510): editor_Plugins_MatchAnalysis_Worker->work()    #5 /webs/XXXX.translate5.net/library/ZfExtended/Worker/Abstract.php(459): ZfExtended_Worker_Abstract->_run()    #6 /webs/XXXX.translate5.net/library/ZfExtended/Controllers/WorkerController.php(119): ZfExtended_Worker_Abstract->runQueued()    #7 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Action.php(516): ZfExtended_WorkerController->putAction()    #8 /webs/XXXX.translate5.net/library/ZfExtended/Controllers/AAARestController.php(287): Zend_Controller_Action->dispatch('putAction')    #9 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Dispatcher/Standard.php(308): ZfExtended_RestController->dispatch('putAction')    #10 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(REST_Controller_Request_Http), Object(Zend_Controller_Response_Http))    #11 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()    #12 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()    #13 /webs/XXXX.translate5.net/library/ZfExtended/Application.php(47): Zend_Application->run()    #14 /webs/XXXX.translate5.net/library/ZfExtended/BaseIndex.php(145): ZfExtended_Application->run()    #15 /webs/XXXX.translate5.net/public/index.php(35): ZfExtended_BaseIndex->startApplication()    #16 {main}      thrown
      Request:
      Array(    [cleanupSessionAfterRun] => 1)

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: