Code:
Symfony\Component\ErrorHandler\Error\UndefinedMethodError:
Attempted to call an undefined method named "fetchAllAssociative" of class "Doctrine\DBAL\Statement".
at templates/Test/test.html5:10
at include()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php:1146)
at Contao\InsertTags->executeReplace('<!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 --><!DOCTYPE html><html lang="de"><head> <meta charset="UTF-8"> <title>Test DB - achim.lammerts.de</title> <base href="http://achim-c413.localhost/"> <meta name="robots" content="index,follow"> <meta name="description" content=""> <meta name="generator" content="Contao Open Source CMS"> [[TL_CSS_7ced653b04b53de535bdd50ab42882c8]] [[TL_HEAD_7ced653b04b53de535bdd50ab42882c8]] </head><body id="top" class="{{cache_mobiledetectioncss|attr}}"> <div id="wrapper"> <div id="container"> <main id="main"> <div class="inside"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> <div class="mod_article block" id="article-384"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><h2 class="ce_headline"> Test DB</h2><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 -->{{file::Test/test.html5}}<!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 --> </div><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> </div> </main> </div> </div> [[TL_BODY_7ced653b04b53de535bdd50ab42882c8]] <script type="application/ld+json">[ { "@context": "https:\\/\\/schema.org", "@graph": [ { "@type": "WebPage" } ] }, { "@context": "https:\\/\\/schema.contao.org", "@graph": [ { "@type": "Page", "fePreview": false, "groups": [], "noSearch": false, "pageId": 130, "protected": false, "title": "Test DB" } ] }]</script></body></html><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 -->', true)
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php:100)
at Contao\InsertTags->replaceInternal('<!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 --><!DOCTYPE html><html lang="de"><head> <meta charset="UTF-8"> <title>Test DB - achim.lammerts.de</title> <base href="http://achim-c413.localhost/"> <meta name="robots" content="index,follow"> <meta name="description" content=""> <meta name="generator" content="Contao Open Source CMS"> [[TL_CSS_7ced653b04b53de535bdd50ab42882c8]] [[TL_HEAD_7ced653b04b53de535bdd50ab42882c8]] </head><body id="top" class="{{cache_mobiledetectioncss}}"> <div id="wrapper"> <div id="container"> <main id="main"> <div class="inside"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> <div class="mod_article block" id="article-384"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><h2 class="ce_headline"> Test DB</h2><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 -->{{file::Test/test.html5}}<!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 --> </div><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> </div> </main> </div> </div> [[TL_BODY_7ced653b04b53de535bdd50ab42882c8]] <script type="application/ld+json">[ { "@context": "https:\\/\\/schema.org", "@graph": [ { "@type": "WebPage" } ] }, { "@context": "https:\\/\\/schema.contao.org", "@graph": [ { "@type": "Page", "fePreview": false, "groups": [], "noSearch": false, "pageId": 130, "protected": false, "title": "Test DB" } ] }]</script></body></html><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 -->', true)
(vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:73)
at Contao\CoreBundle\InsertTag\InsertTagParser->callLegacyClass('<!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 --><!DOCTYPE html><html lang="de"><head> <meta charset="UTF-8"> <title>Test DB - achim.lammerts.de</title> <base href="http://achim-c413.localhost/"> <meta name="robots" content="index,follow"> <meta name="description" content=""> <meta name="generator" content="Contao Open Source CMS"> [[TL_CSS_7ced653b04b53de535bdd50ab42882c8]] [[TL_HEAD_7ced653b04b53de535bdd50ab42882c8]] </head><body id="top" class="{{cache_mobiledetectioncss}}"> <div id="wrapper"> <div id="container"> <main id="main"> <div class="inside"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> <div class="mod_article block" id="article-384"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><h2 class="ce_headline"> Test DB</h2><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 -->{{file::Test/test.html5}}<!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 --> </div><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> </div> </main> </div> </div> [[TL_BODY_7ced653b04b53de535bdd50ab42882c8]] <script type="application/ld+json">[ { "@context": "https:\\/\\/schema.org", "@graph": [ { "@type": "WebPage" } ] }, { "@context": "https:\\/\\/schema.contao.org", "@graph": [ { "@type": "Page", "fePreview": false, "groups": [], "noSearch": false, "pageId": 130, "protected": false, "title": "Test DB" } ] }]</script></body></html><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 -->', true)
(vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:37)
at Contao\CoreBundle\InsertTag\InsertTagParser->replaceChunked('<!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 --><!DOCTYPE html><html lang="de"><head> <meta charset="UTF-8"> <title>Test DB - achim.lammerts.de</title> <base href="http://achim-c413.localhost/"> <meta name="robots" content="index,follow"> <meta name="description" content=""> <meta name="generator" content="Contao Open Source CMS"> [[TL_CSS_7ced653b04b53de535bdd50ab42882c8]] [[TL_HEAD_7ced653b04b53de535bdd50ab42882c8]] </head><body id="top" class="{{cache_mobiledetectioncss}}"> <div id="wrapper"> <div id="container"> <main id="main"> <div class="inside"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> <div class="mod_article block" id="article-384"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><h2 class="ce_headline"> Test DB</h2><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 -->{{file::Test/test.html5}}<!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 --> </div><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> </div> </main> </div> </div> [[TL_BODY_7ced653b04b53de535bdd50ab42882c8]] <script type="application/ld+json">[ { "@context": "https:\\/\\/schema.org", "@graph": [ { "@type": "WebPage" } ] }, { "@context": "https:\\/\\/schema.contao.org", "@graph": [ { "@type": "Page", "fePreview": false, "groups": [], "noSearch": false, "pageId": 130, "protected": false, "title": "Test DB" } ] }]</script></body></html><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 -->')
(vendor/contao/core-bundle/src/InsertTag/InsertTagParser.php:32)
at Contao\CoreBundle\InsertTag\InsertTagParser->replace('<!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 --><!DOCTYPE html><html lang="de"><head> <meta charset="UTF-8"> <title>Test DB - achim.lammerts.de</title> <base href="http://achim-c413.localhost/"> <meta name="robots" content="index,follow"> <meta name="description" content=""> <meta name="generator" content="Contao Open Source CMS"> [[TL_CSS_7ced653b04b53de535bdd50ab42882c8]] [[TL_HEAD_7ced653b04b53de535bdd50ab42882c8]] </head><body id="top" class="{{cache_mobiledetectioncss}}"> <div id="wrapper"> <div id="container"> <main id="main"> <div class="inside"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> <div class="mod_article block" id="article-384"> <!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><h2 class="ce_headline"> Test DB</h2><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_headline.html5 --><!-- TEMPLATE START: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 -->{{file::Test/test.html5}}<!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/elements/ce_html.html5 --> </div><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/modules/mod_article.html5 --> </div> </main> </div> </div> [[TL_BODY_7ced653b04b53de535bdd50ab42882c8]] <script type="application/ld+json">[ { "@context": "https:\\/\\/schema.org", "@graph": [ { "@type": "WebPage" } ] }, { "@context": "https:\\/\\/schema.contao.org", "@graph": [ { "@type": "Page", "fePreview": false, "groups": [], "noSearch": false, "pageId": 130, "protected": false, "title": "Test DB" } ] }]</script></body></html><!-- TEMPLATE END: vendor/contao/core-bundle/src/Resources/contao/templates/frontend/fe_page.html5 -->')
(vendor/contao/core-bundle/src/Resources/contao/classes/FrontendTemplate.php:128)
at Contao\FrontendTemplate->compile()
(vendor/contao/core-bundle/src/Resources/contao/library/Contao/Template.php:322)
at Contao\Template->getResponse()
(vendor/contao/core-bundle/src/Resources/contao/classes/FrontendTemplate.php:85)
at Contao\FrontendTemplate->getResponse(true)
(vendor/contao/core-bundle/src/Resources/contao/pages/PageRegular.php:62)
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:152)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
(vendor/symfony/http-kernel/HttpKernel.php:74)
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/index.php:44)
In 4.9 funktioniert das, in 4.13 nicht mehr.