Ergebnis 1 bis 4 von 4

Thema: Contao 4.13 Notificationcenterfehler

  1. #1
    Contao-Nutzer
    Registriert seit
    24.04.2018.
    Beiträge
    118

    Standard Contao 4.13 Notificationcenterfehler

    Wenn ich den Seitencache neu erstellen will oder einige Aktionen im Contaobackend ausführen will kommt diese Fehlermeldung.
    Code:
    array_keys(): Argument #1 ($array) must be of type array, null given
    Logeintrag
    Code:
    app.ERROR: TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in /html/contao/var/cache/prod/contao/dca/tl_nc_gateway.php:24 Stack trace: #0 /html/contao/var/cache/prod/contao/dca/tl_nc_gateway.php(24): array_keys(NULL) #1 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaLoader.php(105): include('...') #2 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaLoader.php(75): Contao\DcaLoader->loadDcaFiles(false) #3 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php(1454): Contao\DcaLoader->load() #4 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php(378): Contao\Controller::loadDataContainer('...') #5 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php(126): Contao\DcaExtractor->createExtract() #6 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/DcaExtractor.php(148): Contao\DcaExtractor->__construct('...') #7 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model/QueryBuilder.php(31): Contao\DcaExtractor::getInstance('...') #8 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php(1236): Contao\Model\QueryBuilder::find(Array) #9 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php(1069): Contao\Model::buildFindQuery(Array) #10 /html/contao/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Model.php(962): Contao\Model::find(Array) #11 /html/contao/vendor/terminal42/notification_center/library/NotificationCenter/Model/Gateway.php(82): Contao\Model::findBy(Array, Array, Array) #12 /html/contao/vendor/terminal42/notification_center/library/NotificationCenter/Frontend/PoorMansCron.php(32): NotificationCenter\Model\Gateway::findQueuesByInterval('...') #13 /html/contao/vendor/terminal42/notification_center/library/NotificationCenter/Frontend/PoorMansCron.php(19): NotificationCenter\Frontend\PoorMansCron->sendMessagesFromQueue('...') #14 /html/contao/vendor/contao/core-bundle/src/Cron/LegacyCron.php(87): NotificationCenter\Frontend\PoorMansCron->minutely() #15 /html/contao/vendor/contao/core-bundle/src/Cron/LegacyCron.php(33): Contao\CoreBundle\Cron\LegacyCron->runLegacyCrons('...') #16 /html/contao/vendor/contao/core-bundle/src/Cron/CronJob.php(44): Contao\CoreBundle\Cron\LegacyCron->onMinutely('...') #17 /html/contao/vendor/contao/core-bundle/src/Cron/Cron.php(136): Contao\CoreBundle\Cron\CronJob->__invoke('...') #18 /html/contao/vendor/contao/core-bundle/src/EventListener/CommandSchedulerListener.php(47): Contao\CoreBundle\Cron\Cron->run('...') #19 /html/contao/vendor/symfony/event-dispatcher/EventDispatcher.php(270): Contao\CoreBundle\EventListener\CommandSchedulerListener->__invoke(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), '...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #20 /html/contao/vendor/symfony/event-dispatcher/EventDispatcher.php(230): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), '...', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #21 /html/contao/vendor/symfony/event-dispatcher/EventDispatcher.php(59): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, '...', Object(Symfony\Component\HttpKernel\Event\TerminateEvent)) #22 /html/contao/vendor/symfony/http-kernel/HttpKernel.php(97): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\TerminateEvent), '...') #23 /html/contao/vendor/symfony/http-kernel/Kernel.php(159): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #24 /html/contao/vendor/contao/manager-bundle/src/HttpKernel/ContaoCache.php(84): Symfony\Component\HttpKernel\Kernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #25 /html/contao/web/index.php(48): Contao\ManagerBundle\HttpKernel\ContaoCache->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Symfony\Component\HttpFoundation\RedirectResponse)) #26 /html/contao/web/app.php(13): require('...') #27 {main} [] []
    request.CRITICAL: Uncaught PHP Exception TypeError: "array_keys(): Argument #1 ($array) must be of type array, null given" at /html/contao/var/cache/prod/contao/dca/tl_nc_gateway.php line 24 {"exception":"[object] (TypeError(code: 0): array_keys(): Argument #1 ($array) must be of type array, null given at /html/contao/var/cache/prod/contao/dca/tl_nc_gateway.php:24)"} []
    Woher könnte dieser Fehler kommen? Ich konnte noch nichts zu diesem Fehler finden.
    Danke für die Hilfe!
    Matthias Honisch
    LocalBranding

  2. #2
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    37.954
    Partner-ID
    10107

    Standard

    Nutze den Debug-Modus und poste den Stack Trace. Poste außerdem die genaue Contao und Notification Center Version.
    » sponsor me via GitHub or Revolut

  3. #3
    Contao-Urgestein Avatar von do_while
    Registriert seit
    15.06.2009.
    Ort
    Berlin | Deutschland
    Beiträge
    3.673
    Partner-ID
    1081
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Es könnte auch an einer Gateway-Einstellung zu dem PDF-Generator contao-pdf-nc-attachment-bundle liegen.
    Der Fehler ist mir allerdings bisher nicht bekannt.

  4. #4
    Contao-Urgestein
    Registriert seit
    24.02.2021.
    Beiträge
    1.792
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von do_while Beitrag anzeigen
    Es könnte auch an einer Gateway-Einstellung zu dem PDF-Generator contao-pdf-nc-attachment-bundle liegen.
    Der Fehler ist mir allerdings bisher nicht bekannt.
    Es könnte auch an eigenen Anpassungen in contao/dca/tl_nc_gateway liegen. Um das zu analysieren braucht es aber den Stack Trace.

Aktive Benutzer

Aktive Benutzer

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

Berechtigungen

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