Contao-Camp 2024
Ergebnis 1 bis 3 von 3

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

  1. #1
    Contao-Nutzer
    Registriert seit
    23.01.2016.
    Beiträge
    32

    Standard 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}
    Geändert von xchs (04.09.2017 um 21:56 Uhr)

  2. #2
    Contao-Nutzer Avatar von baumannsv
    Registriert seit
    28.01.2015.
    Beiträge
    152

    Standard

    Hallo Community,

    Habe den Fehler aufgenommen und werde danach schauen.

    https://github.com/avisota/contao-core/issues/236

    LG Sven Baumann

  3. #3
    Contao-Nutzer
    Registriert seit
    21.10.2017.
    Beiträge
    2

    Standard

    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&act=create',
                    'class'      => 'header_recipient_migrate',
                    'attributes' => 'onclick="Backend.getScrollOffset();"'
                ),
                'export'  => array
                (
                    'label'      => &$GLOBALS['TL_LANG']['orm_avisota_recipient']['export'],
                    'href'       => 'table=mem_avisota_recipient_export&act=create',
                //  'source'      => 'header_recipient_export',
                    'attributes' => 'onclick="Backend.getScrollOffset();"'
                ),
    Beste Grüße

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •