Recoverable error: Argument 3 passed to Contao\Model::countBy() must be an array, null given, called in /home/netsh71210/html/live/literaturfest-meissen.de/system/modules/t4c_portfolio/models/PortfolioItemModel.php on line 122 and defined in system/modules/core/library/Contao/Model.php on line 1010
#0 system/modules/core/library/Contao/Model.php(1010): __error(4096, 'Argument 3 pass...', '/home/netsh7121...', 1010, Array)
#1 system/modules/t4c_portfolio/models/PortfolioItemModel.php(122): Contao\Model::countBy(Array, NULL, NULL)
#2 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(77): themes4contao\PortfolioItemModel::countPublishedByPids(Array)
#3 system/modules/core/modules/Module.php(154): themes4contao\ModulePortfolioList->compile()
#4 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(57): Contao\Module->generate()
#5 system/modules/core/elements/ContentModule.php(56): themes4contao\ModulePortfolioList->generate()
#6 system/modules/core/library/Contao/Controller.php(469): Contao\ContentModule->generate()
#7 system/modules/core/modules/ModuleArticle.php(187): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#8 system/modules/core/modules/Module.php(154): Contao\ModuleArticle->compile()
#9 system/modules/core/modules/ModuleArticle.php(50): Contao\Module->generate()
#10 system/modules/core/library/Contao/Controller.php(405): Contao\ModuleArticle->generate(false)
#11 system/modules/core/library/Contao/Controller.php(224): Contao\Controller::getArticle(Object(Contao\ArticleModel))
#12 system/modules/core/pages/PageRegular.php(129): Contao\Controller::getFrontendModule('0', 'main')
#13 system/modules/core/controllers/FrontendIndex.php(244): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#14 index.php(20): Contao\FrontendIndex->run()
#15 {main}

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in system/modules/core/library/Contao/Model.php on line 1027
#0 [internal function]: __error(2, 'array_merge() [...', '/home/netsh7121...', 1027, Array)
#1 system/modules/core/library/Contao/Model.php(1027): array_merge(Array, NULL)
#2 system/modules/t4c_portfolio/models/PortfolioItemModel.php(122): Contao\Model::countBy(Array, NULL, NULL)
#3 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(77): themes4contao\PortfolioItemModel::countPublishedByPids(Array)
#4 system/modules/core/modules/Module.php(154): themes4contao\ModulePortfolioList->compile()
#5 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(57): Contao\Module->generate()
#6 system/modules/core/elements/ContentModule.php(56): themes4contao\ModulePortfolioList->generate()
#7 system/modules/core/library/Contao/Controller.php(469): Contao\ContentModule->generate()
#8 system/modules/core/modules/ModuleArticle.php(187): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#9 system/modules/core/modules/Module.php(154): Contao\ModuleArticle->compile()
#10 system/modules/core/modules/ModuleArticle.php(50): Contao\Module->generate()
#11 system/modules/core/library/Contao/Controller.php(405): Contao\ModuleArticle->generate(false)
#12 system/modules/core/library/Contao/Controller.php(224): Contao\Controller::getArticle(Object(Contao\ArticleModel))
#13 system/modules/core/pages/PageRegular.php(129): Contao\Controller::getFrontendModule('0', 'main')
#14 system/modules/core/controllers/FrontendIndex.php(244): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#15 index.php(20): Contao\FrontendIndex->run()
#16 {main}

Recoverable error: Argument 1 passed to Contao\Model::buildCountQuery() must be an array, null given, called in /home/netsh71210/html/live/literaturfest-meissen.de/system/modules/core/library/Contao/Model.php on line 1029 and defined in system/modules/core/library/Contao/Model.php on line 1093
#0 system/modules/core/library/Contao/Model.php(1093): __error(4096, 'Argument 1 pass...', '/home/netsh7121...', 1093, Array)
#1 system/modules/core/library/Contao/Model.php(1029): Contao\Model::buildCountQuery(NULL)
#2 system/modules/t4c_portfolio/models/PortfolioItemModel.php(122): Contao\Model::countBy(Array, NULL, NULL)
#3 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(77): themes4contao\PortfolioItemModel::countPublishedByPids(Array)
#4 system/modules/core/modules/Module.php(154): themes4contao\ModulePortfolioList->compile()
#5 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(57): Contao\Module->generate()
#6 system/modules/core/elements/ContentModule.php(56): themes4contao\ModulePortfolioList->generate()
#7 system/modules/core/library/Contao/Controller.php(469): Contao\ContentModule->generate()
#8 system/modules/core/modules/ModuleArticle.php(187): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#9 system/modules/core/modules/Module.php(154): Contao\ModuleArticle->compile()
#10 system/modules/core/modules/ModuleArticle.php(50): Contao\Module->generate()
#11 system/modules/core/library/Contao/Controller.php(405): Contao\ModuleArticle->generate(false)
#12 system/modules/core/library/Contao/Controller.php(224): Contao\Controller::getArticle(Object(Contao\ArticleModel))
#13 system/modules/core/pages/PageRegular.php(129): Contao\Controller::getFrontendModule('0', 'main')
#14 system/modules/core/controllers/FrontendIndex.php(244): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#15 index.php(20): Contao\FrontendIndex->run()
#16 {main}

Recoverable error: Argument 1 passed to Contao\Model\QueryBuilder::count() must be an array, null given, called in /home/netsh71210/html/live/literaturfest-meissen.de/system/modules/core/library/Contao/Model.php on line 1095 and defined in system/modules/core/library/Contao/Model/QueryBuilder.php on line 103
#0 system/modules/core/library/Contao/Model/QueryBuilder.php(103): __error(4096, 'Argument 1 pass...', '/home/netsh7121...', 103, Array)
#1 system/modules/core/library/Contao/Model.php(1095): Contao\Model\QueryBuilder::count(NULL)
#2 system/modules/core/library/Contao/Model.php(1029): Contao\Model::buildCountQuery(NULL)
#3 system/modules/t4c_portfolio/models/PortfolioItemModel.php(122): Contao\Model::countBy(Array, NULL, NULL)
#4 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(77): themes4contao\PortfolioItemModel::countPublishedByPids(Array)
#5 system/modules/core/modules/Module.php(154): themes4contao\ModulePortfolioList->compile()
#6 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(57): Contao\Module->generate()
#7 system/modules/core/elements/ContentModule.php(56): themes4contao\ModulePortfolioList->generate()
#8 system/modules/core/library/Contao/Controller.php(469): Contao\ContentModule->generate()
#9 system/modules/core/modules/ModuleArticle.php(187): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#10 system/modules/core/modules/Module.php(154): Contao\ModuleArticle->compile()
#11 system/modules/core/modules/ModuleArticle.php(50): Contao\Module->generate()
#12 system/modules/core/library/Contao/Controller.php(405): Contao\ModuleArticle->generate(false)
#13 system/modules/core/library/Contao/Controller.php(224): Contao\Controller::getArticle(Object(Contao\ArticleModel))
#14 system/modules/core/pages/PageRegular.php(129): Contao\Controller::getFrontendModule('0', 'main')
#15 system/modules/core/controllers/FrontendIndex.php(244): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#16 index.php(20): Contao\FrontendIndex->run()
#17 {main}

Fatal error: Uncaught exception Exception with message Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 (SELECT COUNT(*) AS count FROM) thrown in system/modules/core/library/Contao/Database/Statement.php on line 293
#0 system/modules/core/library/Contao/Database/Statement.php(262): Contao\Database\Statement->query()
#1 system/modules/core/library/Contao/Model.php(1031): Contao\Database\Statement->execute(NULL)
#2 system/modules/t4c_portfolio/models/PortfolioItemModel.php(122): Contao\Model::countBy(Array, NULL, NULL)
#3 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(77): themes4contao\PortfolioItemModel::countPublishedByPids(Array)
#4 system/modules/core/modules/Module.php(154): themes4contao\ModulePortfolioList->compile()
#5 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(57): Contao\Module->generate()
#6 system/modules/core/elements/ContentModule.php(56): themes4contao\ModulePortfolioList->generate()
#7 system/modules/core/library/Contao/Controller.php(469): Contao\ContentModule->generate()
#8 system/modules/core/modules/ModuleArticle.php(187): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#9 system/modules/core/modules/Module.php(154): Contao\ModuleArticle->compile()
#10 system/modules/core/modules/ModuleArticle.php(50): Contao\Module->generate()
#11 system/modules/core/library/Contao/Controller.php(405): Contao\ModuleArticle->generate(false)
#12 system/modules/core/library/Contao/Controller.php(224): Contao\Controller::getArticle(Object(Contao\ArticleModel))
#13 system/modules/core/pages/PageRegular.php(129): Contao\Controller::getFrontendModule('0', 'main')
#14 system/modules/core/controllers/FrontendIndex.php(244): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#15 index.php(20): Contao\FrontendIndex->run()
#16 {main}