Ich habe wie in der Dokumentation beschrieben die Cookie-Hinweis Leiste eingebunden.
Leider wird die Seite nicht mehr geladen, die Log-Datei meldet folgenden Fehler:
2022-11-30 07:02:44] request.INFO: Matched route "tl_page.2605". {"route":"tl_page.2605","route_parameters":{"_t oke n_check":true,"_controller":"Contao\\FrontendIndex ::renderPage","_scope":"frontend","_locale":"de"," pageModel":"[object] (Contao\\PageModel: {})","parameters":"","_route":"tl_page.2605"},"re q uest_uri":"https://www. .... .de/Startseite.html","method":"GET"} []
[2022-11-30 07:02:44] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2022-11-30 07:02:44] request.CRITICAL: Uncaught PHP Exception Error: "Call to a member function getFrontendUrl() on null" at /html/contao/templates/layout/mod_privacy_no_optin_cookiebar.html5 line 13 {"exception":"[object] (Error(code: 0): Call to a member function getFrontendUrl() on null at /html/contao/templates/layout/mod_privacy_no_optin_cookiebar.html5:13)"} []
Hat jemand eine Idee?
Leider wird die Seite nicht mehr geladen, die Log-Datei meldet folgenden Fehler:
2022-11-30 07:02:44] request.INFO: Matched route "tl_page.2605". {"route":"tl_page.2605","route_parameters":{"_t oke n_check":true,"_controller":"Contao\\FrontendIndex ::renderPage","_scope":"frontend","_locale":"de"," pageModel":"[object] (Contao\\PageModel: {})","parameters":"","_route":"tl_page.2605"},"re q uest_uri":"https://www. .... .de/Startseite.html","method":"GET"} []
[2022-11-30 07:02:44] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2022-11-30 07:02:44] request.CRITICAL: Uncaught PHP Exception Error: "Call to a member function getFrontendUrl() on null" at /html/contao/templates/layout/mod_privacy_no_optin_cookiebar.html5 line 13 {"exception":"[object] (Error(code: 0): Call to a member function getFrontendUrl() on null at /html/contao/templates/layout/mod_privacy_no_optin_cookiebar.html5:13)"} []
Hat jemand eine Idee?
Kommentar