contao calendar (event list) Warning: Undefined array key "languages"
JessesNei opened this issue · 0 comments
PHP 8.1
Contao 4.13.23
CM: v1.32.35
What is the connection between Contao event list and the catalog manager?
I create a frontend module of type event list and select an event archive.
When loading the frontend I get (happens if there are events published or not)
ErrorException:
Warning: Undefined array key "languages"
at vendor/alnv/catalog-manager/library/alnv/Toolkit.php:211
at CatalogManager\Toolkit::parseCatalog(array('mode' => 4, 'panelLayout' => 'a:4:{i:0;s:6:"filter";i:1;s:4:"sort";i:2;s:6:"search";i:3;s:5:"limit";}', 'sortingFields' => 'a:1:{i:0;s:9:"startTime";}', 'headerFields' => array('title', 'jumpTo', 'tstamp', 'protected', 'allowComments'), 'useVC' => '1', 'pTable' => 'tl_calendar', 'addContentElements' => '1', 'cTables' => array('tl_content'), 'operations' => '', 'navArea' => '', 'navPosition' => '', 'isBackendModule' => '', 'tablename' => 'tl_calendar_events'))
(vendor/alnv/catalog-manager/library/alnv/CatalogFieldBuilder.php:51)
at CatalogManager\CatalogFieldBuilder->initialize('tl_calendar_events')
(vendor/alnv/catalog-manager/library/alnv/CatalogParser.php:21)
at CatalogManager\CatalogParser->initialize('tl_calendar_events')
(vendor/alnv/catalog-manager/library/alnv/CatalogParser.php:38)
at CatalogManager\CatalogParser->getAllEvents(array(), array(17), 1684848314, 4294967295, object(ModuleEventlist))
(vendor/contao/calendar-bundle/src/Resources/contao/classes/Events.php:175)
at Contao\Events->getAllEvents(array(17), 1684848314, 4294967295, null)
(vendor/contao/calendar-bundle/src/Resources/contao/modules/ModuleEventlist.php:171)
at Contao\ModuleEventlist->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
at Contao\Module->generate()
(vendor/contao/calendar-bundle/src/Resources/contao/modules/ModuleEventlist.php:85)
at Contao\ModuleEventlist->generate()
(vendor/contao/core-bundle/src/Resources/contao/elements/ContentModule.php:98)
at Contao\ContentModule->generate()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:621)
at Contao\Controller::getContentElement(object(ContentModel), 'main')
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:197)
at Contao\ModuleArticle->compile()
(vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:214)
at Contao\Module->generate()
(vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:70)
at Contao\ModuleArticle->generate(false)
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:549)
at Contao\Controller::getArticle(object(ArticleModel), true, false, 'main')
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:391)
at Contao\Controller::getFrontendModule('0', 'main')
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:190)
at Contao\PageRegular->prepare(object(PageModel))
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:60)
at Contao\PageRegular->getResponse(object(PageModel), true)
(vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:320)
at Contao\FrontendIndex->renderPage(object(PageModel))
(vendor/symfony/http-kernel/HttpKernel.php:163)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(web/preview.php:46)