Fatal error: Uncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGene ral

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • wickli
    Contao-Nutzer
    • 23.01.2016
    • 32

    #1

    Fatal error: Uncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGene ral

    Guten Abend

    Bei meiner Avisota 3.2.0 Installation auf Contao 3.5.28 erhalte ich beim aufruf von "csv-Export" für den Export der Empfänger folgende Fehlermeldung.
    Es ist die DCGeneral 2.0.0-beta39 installiert. Wie kann ich den Fehler auflösen?
    Ich danke für die Hilfe.

    gute Abend und vielen Dank
    Jakob

    Code:
    Fatal error: Uncaught exception ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralRuntimeException with message Unparsable encoded id value: '' thrown in composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Data/ModelId.php on line 116
    #0 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ActionHandler/EditHandler.php(65): ContaoCommunityAlliance\DcGeneral\Data\ModelId::fromSerialized(NULL)
    #1 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractHandler.php(54): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\EditHandler->process()
    #2 [internal function]: ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractHandler->handleEvent(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
    #3 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
    #4 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
    #5 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractHandler.php(146): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
    #6 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Contao/View/Contao2BackendView/ActionHandler/AbstractListShowAllHandler.php(68): ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractHandler->callAction('edit', Array)
    #7 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractHandler.php(54): ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\ActionHandler\AbstractListShowAllHandler->process()
    #8 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/View/ActionHandler/AbstractEnvironmentAwareHandler.php(71): ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractHandler->handleEvent(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
    #9 [internal function]: ContaoCommunityAlliance\DcGeneral\View\ActionHandler\AbstractEnvironmentAwareHandler->handleEvent(Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
    #10 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(184): call_user_func(Array, Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent), 'dc-general.acti...', Object(Symfony\Component\EventDispatcher\EventDispatcher))
    #11 composer/vendor/symfony/event-dispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(Array, 'dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
    #12 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/Controller/DefaultController.php(152): Symfony\Component\EventDispatcher\EventDispatcher->dispatch('dc-general.acti...', Object(ContaoCommunityAlliance\DcGeneral\Event\ActionEvent))
    #13 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/DC/General.php(284): ContaoCommunityAlliance\DcGeneral\Controller\DefaultController->handle(Object(ContaoCommunityAlliance\DcGeneral\Action))
    #14 composer/vendor/contao-community-alliance/dc-general/src/ContaoCommunityAlliance/DcGeneral/DC/General.php(380): ContaoCommunityAlliance\DcGeneral\DC_General->callAction()
    #15 system/modules/core/classes/Backend.php(650): ContaoCommunityAlliance\DcGeneral\DC_General->showAll()
    #16 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('avisota_recipie...')
    #17 contao/main.php(20): Contao\BackendMain->run()
    #18 {main}
    Zuletzt geändert von xchs; 04.09.2017, 21:56.
  • baumannsv
    Contao-Nutzer
    • 28.01.2015
    • 152

    #2
    Hallo Community,

    Habe den Fehler aufgenommen und werde danach schauen.

    Von wickli: Bei meiner Avisota 3.2.0 Installation auf Contao 3.5.28 erhalte ich beim aufruf von "csv-Export" für den Export der Empfänger folgende Fehlermeldung. Es ist die DCGeneral 2.0.0-beta39 i...


    LG Sven Baumann

    Kommentar

    • Schlossbernstorf
      Contao-Nutzer
      • 21.10.2017
      • 2

      #3
      Hallo zusammen,

      da ich auch das Problem hatte auf ein anderes System umzusteigen und die E-mailadressen exportieren wollte, bin ich auf die Lösung gestoßen. Auch wenn die Frage schon alt ist, vielleicht benötigt das ja noch der ein oder andere:

      Es fehlt ein Parameter in der Url
      Code:
      &act=create
      sowohl beim csv-export als auch beim migrieren.
      Also entweder Link kopieren, den Parameter anhängen, oder wer es öfter braucht in der Datei:

      Code:
      system / modules / avisota-subscription-recipient / dca / orm_avisota_recipient.php
      Zeile 91 bis 104 bei mir

      Code:
      'migrate' => array
                  (
                      'label'      => &$GLOBALS['TL_LANG']['orm_avisota_recipient']['migrate'],
                      'href'       => 'table=mem_avisota_recipient_migrate[COLOR="#FF0000"]&act=create[/COLOR]',
                      'class'      => 'header_recipient_migrate',
                      'attributes' => 'onclick="Backend.getScrollOffset();"'
                  ),
                  'export'  => array
                  (
                      'label'      => &$GLOBALS['TL_LANG']['orm_avisota_recipient']['export'],
                      'href'       => 'table=mem_avisota_recipient_export[COLOR="#FF0000"]&act=create'[/COLOR],
                  //  'source'      => 'header_recipient_export',
                      'attributes' => 'onclick="Backend.getScrollOffset();"'
                  ),
      Beste Grüße

      Kommentar

      Lädt...