Error if no filter is selected in CE/module MM list in front end view
ErrorException:
Warning: array_merge() expects at least 1 parameter, 0 given
at /var/customers/webs/metamodels/mm220/vendor/metamodels/core/src/Filter/Setting/Collection.php:160
at MetaModels\Filter\Setting\Collection->getParameters()
(/var/customers/webs/metamodels/mm220/vendor/metamodels/core/src/CoreBundle/Controller/ContentElement/ItemListController.php:169)
at MetaModels\CoreBundle\Controller\ContentElement\ItemListController->getFilterParameters(object(FilterUrl), object(ItemList))
(/var/customers/webs/metamodels/mm220/vendor/metamodels/core/src/CoreBundle/Controller/ContentElement/ItemListController.php:121)
at MetaModels\CoreBundle\Controller\ContentElement\ItemListController->getResponse(object(FrontendTemplate), object(ContentModel), object(Request))
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Controller/ContentElement/AbstractContentElementController.php:33)
at Contao\CoreBundle\Controller\ContentElement\AbstractContentElementController->__invoke(object(Request), object(ContentModel), 'main', array('first', 'last'))
(/var/customers/webs/metamodels/mm220/vendor/metamodels/core/src/CoreBundle/Controller/ContentElement/ItemListController.php:82)
at MetaModels\CoreBundle\Controller\ContentElement\ItemListController->__invoke(object(Request), object(ContentModel), 'main', array('first', 'last'))
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 2)
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 2, false)
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:85)
at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(object(HttpKernel), object(Request), 2, false)
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php:81)
at Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render('/_fragment?_path=_format%3Dhtml%26_locale%3Dde%26_controller%3Dcontao.content_element.metamodel_content', object(Request), array('ignore_errors' => false))
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/Fragment/FragmentHandler.php:85)
at Symfony\Component\HttpKernel\Fragment\FragmentHandler->render(object(ContentElementReference), 'forward', array('ignore_errors' => false))
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Fragment/FragmentHandler.php:84)
at Contao\CoreBundle\Fragment\FragmentHandler->render(object(ContentElementReference))
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/elements/ContentProxy.php:34)
at Contao\ContentProxy->generate()
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:570)
at Contao\Controller::getContentElement(object(ContentModel), 'main')
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:192)
at Contao\ModuleArticle->compile()
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/modules/Module.php:209)
at Contao\Module->generate()
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/modules/ModuleArticle.php:74)
at Contao\ModuleArticle->generate(false)
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:510)
at Contao\Controller::getArticle(object(ArticleModel), false, false, 'main')
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Controller.php:372)
at Contao\Controller::getFrontendModule('0', 'main')
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:168)
at Contao\PageRegular->prepare(object(PageModel))
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:48)
at Contao\PageRegular->getResponse(object(PageModel), true)
(/var/customers/webs/metamodels/mm220/vendor/contao/core-bundle/src/Resources/contao/controllers/FrontendIndex.php:339)
at Contao\FrontendIndex->renderPage(object(PageModel))
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/HttpKernel.php:158)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/HttpKernel.php:80)
at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
(/var/customers/webs/metamodels/mm220/vendor/symfony/http-kernel/Kernel.php:201)
at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
(/var/customers/webs/metamodels/mm220/web/index.php:31)
Error if no filter is selected in CE/module MM list in front end view