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

Term-portal error: join(): Argument #1 ($pieces) must be of type array, string given

    XMLWordPrintable

Details

    • Medium
    • Fixed bug in loading terms.
    • -

    Description

      Problem

      It seams like that the join function fails because of not set argument in:
      editor_Models_Terminology_Models_TermModel->getSiblingsOrderedBy

      Error log

      Exception:	TypeError
      Level:	ERROR
      Errorcode:	E9999
      Message:	join(): Argument #1 ($pieces) must be of type array, string given
      Domain:	core
      Version:	5.6.2
      File (Line):	/webs/xxxxx/application/modules/editor/Models/Terminology/Models/TermModel.php (2372)
      User:	 ({5e63c99a-ef14-4eee-9e60-fbc562c543a8})
      Request:	POST /editor/plugins_termportal_data/terminfo
      Trace:
      
          #0 /webs/xxxxx/application/modules/editor/Models/Terminology/Models/TermModel.php(2372): join()
          #1 /webs/xxxxx/application/modules/editor/Plugins/TermPortal/Controllers/DataController.php(1031): editor_Models_Terminology_Models_TermModel->getSiblingsOrderedBy()
          #2 /webs/xxxxx/application/modules/editor/Plugins/TermPortal/Controllers/DataController.php(450): editor_Plugins_TermPortal_DataController->_info_entrySiblings()
          #3 /webs/shared-translate5-instance-files/vendor/shardj/zf1-future/library/Zend/Controller/Action.php(516): editor_Plugins_TermPortal_DataController->terminfoAction()
          #4 /webs/xxxxx/library/ZfExtended/Controllers/AAARestController.php(291): Zend_Controller_Action->dispatch()
          #5 /webs/shared-translate5-instance-files/vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php(308): ZfExtended_RestController->dispatch()
          #6 /webs/shared-translate5-instance-files/vendor/shardj/zf1-future/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
          #7 /webs/shared-translate5-instance-files/vendor/shardj/zf1-future/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch()
          #8 /webs/shared-translate5-instance-files/vendor/shardj/zf1-future/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run()
          #9 /webs/xxxxx/library/ZfExtended/Application.php(47): Zend_Application->run()
          #10 /webs/xxxxx/library/ZfExtended/BaseIndex.php(149): ZfExtended_Application->run()
          #11 /webs/xxxxx/public/index.php(35): ZfExtended_BaseIndex->startApplication()
          #12 {main}
      
      Request:
      
      Array
      (
          [termId] => 94921
          [termEntryId] => 40999
          [languageId] => 361
          [collectionId] => 21
      )
      
      

      Attachments

        Activity

          People

            pavelperminov Pavel Perminov
            aleksandar Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: