Wenn ich den Seitencache neu erstellen will oder einige Aktionen im Contaobackend ausführen will kommt diese Fehlermeldung.
LogeintragCode:array_keys(): Argument #1 ($array) must be of type array, null given
Woher könnte dieser Fehler kommen? Ich konnte noch nichts zu diesem Fehler finden.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)"} []
Danke für die Hilfe!

Zitieren
