Hallo Zusammen,
ich habe einen Fehler mit der 404-Seite.
- 404-Seite im BE erstellt
- Inhalte darauf veröffentlicht
- URL im FE so verändert, dass die 404 auslößt
-> Es ist ein Fehler aufgetreten.
Code:
[2022-03-15T20:01:14.276697+01:00] request.INFO: Matched route "tl_page.3046.error_404". {"route":"tl_page.3046.error_404","route_parameters":{"_token_check":true,"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.3046","pageModel":{"Contao\\PageModel":[]},"_url_fragment":"manuelle-theerrapie.html","_route":"tl_page.3046.error_404","_route_object":{"Symfony\\Component\\Routing\\Route":[]}},"request_uri":"https://xyz/manuelle-theerrapie.html","method":"GET"} []
[2022-03-15T20:01:14.301239+01:00] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2022-03-15T20:01:14.647134+01:00] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Routing\Exception\ResourceNotFoundException: "Page ID 3046 is not routable" at /var/www/vhosts/hosting100410.af9aa.netcup.net/httpdocs/entwicklung_c/vendor/contao/core-bundle/src/Resources/contao/models/PageModel.php line 1370 {"exception":"[object] (Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException(code: 0): Page ID 3046 is not routable at /var/www/vhosts/hosting100410.af9aa.netcup.net/httpdocs/entwicklung_c/vendor/contao/core-bundle/src/Resources/contao/models/PageModel.php:1370)\n[previous exception] [object] (Symfony\\Component\\Routing\\Exception\\RouteNotFoundException(code: 0): None of the chained routers were able to generate route: Route 'cmf_routing_object' not found, Route 'Route 'cmf_routing_object' not found' not found at /var/www/vhosts/hosting100410.af9aa.netcup.net/httpdocs/xyz/vendor/symfony-cmf/routing/src/ChainRouter.php:265)"} []
In der Fehlermeldung steht, dass die Page ID 3046 nicht geroutet werden kann. Ich nehme an, dass es nichts damit zu tun hat, dass die 404-Seite keinen Alias mehr hat.
Die ID der 404-Seite ist 3046.
Contao 4.13.1
Hoster: NetCup Webhosting 8000
Hat da jemand einen Tipp?
Gruß
tschero
Lesezeichen