Perfekt, danke! Jetzt funktioniert's in der Tat wieder...
Druckbare Version
Perfekt, danke! Jetzt funktioniert's in der Tat wieder...
Gibts einen Grund dafür, dass man das nicht mehr einfach als neue Templatedatei, wie im 3er, im Backend anlegen kann?
Ja, das geht nicht mehr wie früher, weil Contao jetzt auf Symfony aufbaut und nicht mehr sein eigenes Süppchen kocht.
Stimmt so nicht ganz. Die Template-Engine von Contao gibt es immer noch. Das besagte Template ist allerdings ein Twig-Template, welche grundsätzlich anders gehandhabt werden :)
Aber früher oder später wird doch bestimmt das Contao Templating vollständig durch Twig ersetzt oder?
Der Bedienbarkeit nicht gerade förderlich.
Irgendwann wäre Twig interessant, aber das müsste dann Contao 5 sein, weil die Engines grundsätzlich inkompatibel sind.
Hallo, ich habe den Ordner app/ gar nicht.
Kann das sein?
Ja, das kann sein. Was genau möchtest du machen?
ich möchte gerne wissen welcher Fehler vorhanden ist nach dem Update, weil meine Seite nicht mehr erreichbar ist.
Ich habe jetzt mal direkt in bar/logs geguckt:
PHP-Code:
[2023-01-14 12:25:16] request.INFO: Matched route "tl_page.91.root". {"route":"tl_page.91.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex:renderPage","_scope":"frontend","_locale":"de","_format":"html","parameters":"","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.91.root","_route_object":"[object] (Symfony\\Component\\Routing\\Route: {})"},"request_uri":"https://psv-tt.de/","method":"GET"} []
[2023-01-14 12:25:16] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-01-14 12:25:16] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "getPublishedSubpagesWithoutGuestsByPid" of class "ContaoThemesNet\MateThemeBundle\Mate\NavBarModule"." at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php line 222 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"getPublishedSubpagesWithoutGuestsByPid\" of class \"ContaoThemesNet\\MateThemeBundle\\Mate\\NavBarModule\". at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php:222)"} []
[2023-01-14 12:25:26] request.INFO: Matched route "tl_page.91.root". {"route":"tl_page.91.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex:renderPage","_scope":"frontend","_locale":"de","_format":"html","parameters":"","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.91.root","_route_object":"[object] (Symfony\\Component\\Routing\\Route: {})"},"request_uri":"https://psv-tt.de/","method":"GET"} []
[2023-01-14 12:25:26] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-01-14 12:25:26] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "getPublishedSubpagesWithoutGuestsByPid" of class "ContaoThemesNet\MateThemeBundle\Mate\NavBarModule"." at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php line 222 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"getPublishedSubpagesWithoutGuestsByPid\" of class \"ContaoThemesNet\\MateThemeBundle\\Mate\\NavBarModule\". at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php:222)"} []
[2023-01-14 12:25:30] request.INFO: Matched route "tl_page.91.root". {"route":"tl_page.91.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex:renderPage","_scope":"frontend","_locale":"de","_format":"html","parameters":"","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.91.root","_route_object":"[object] (Symfony\\Component\\Routing\\Route: {})"},"request_uri":"https://psv-tt.de/","method":"GET"} []
[2023-01-14 12:25:30] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-01-14 12:25:30] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "getPublishedSubpagesWithoutGuestsByPid" of class "ContaoThemesNet\MateThemeBundle\Mate\NavBarModule"." at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php line 222 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"getPublishedSubpagesWithoutGuestsByPid\" of class \"ContaoThemesNet\\MateThemeBundle\\Mate\\NavBarModule\". at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php:222)"} []
[2023-01-14 12:25:32] request.INFO: Matched route "tl_page.91.root". {"route":"tl_page.91.root","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex:renderPage","_scope":"frontend","_locale":"de","_format":"html","parameters":"","pageModel":"[object] (Contao\\PageModel: {})","_route":"tl_page.91.root","_route_object":"[object] (Symfony\\Component\\Routing\\Route: {})"},"request_uri":"https://psv-tt.de/","method":"GET"} []
[2023-01-14 12:25:32] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2023-01-14 12:25:32] request.CRITICAL: Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "getPublishedSubpagesWithoutGuestsByPid" of class "ContaoThemesNet\MateThemeBundle\Mate\NavBarModule"." at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php line 222 {"exception":"[object] (Symfony\\Component\\ErrorHandler\\Error\\UndefinedMethodError(code: 0): Attempted to call an undefined method named \"getPublishedSubpagesWithoutGuestsByPid\" of class \"ContaoThemesNet\\MateThemeBundle\\Mate\\NavBarModule\". at /www/htdocs/w013e143/psv/vendor/contao-themes-net/mate-theme-bundle/src/Resources/contao/modules/Mate/NavBarModule.php:222)"} []
Das scheinen mir sehr viele Fehler zu sein :-(