Guten Morgen,
gestern habe ich einmal eine 4.4.x auf die 4.6 aktualisiert.
Das lief dann gut und nur auf Seiten, in denen Newslisten enthalten sind, wird im Frontend nichts mehr angezeigt (Es ist ein Fehler aufgetreten).
In den Logs habe ich folgende Zeilen:
Code:
[2018-08-24 08:01:47] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_route":"contao_index","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend"},"request_uri":"https://www.domain.tld/","method":"HEAD"} []
[2018-08-24 08:01:47] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2018-08-24 08:01:47] request.INFO: Matched route "contao_index". {"route":"contao_index","route_parameters":{"_route":"contao_index","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend"},"request_uri":"https://www.domain.tld/","method":"GET"} []
[2018-08-24 08:01:47] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2018-08-24 08:01:58] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedMethodException: "Attempted to call an undefined method named "parseCategoriesTags" of class "Contao\News"." at /www/htdocs/domain.tld/vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php line 983 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\UndefinedMethodException(code: 0): Attempted to call an undefined method named \"parseCategoriesTags\" of class \"Contao\\News\". at /www/htdocs/domain.tld/vendor/contao/core-bundle/src/Resources/contao/library/Contao/InsertTags.php:983)"} []
[2018-08-24 08:02:58] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_route":"contao_frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"aktuelles"},"request_uri":"https://www.domain.tld/aktuelles.html","method":"HEAD"} []
[2018-08-24 08:02:58] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2018-08-24 08:02:58] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_route":"contao_frontend","_token_check":true,"_controller":"Contao\\CoreBundle\\Controller\\FrontendController::indexAction","_scope":"frontend","alias":"aktuelles"},"request_uri":"https://www.domain.tld/aktuelles.html","method":"GET"} []
[2018-08-24 08:02:58] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2018-08-24 08:02:58] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\UndefinedMethodException: "Attempted to call an undefined method named "addCategoriesToTemplate" of class "Contao\News"." at /www/htdocs/domain.tld/vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNews.php line 216 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\UndefinedMethodException(code: 0): Attempted to call an undefined method named \"addCategoriesToTemplate\" of class \"Contao\\News\". at /www/htdocs/domain.tld/vendor/contao/news-bundle/src/Resources/contao/modules/ModuleNews.php:216)"} []
Ich nutze die Erweiterung news_categories und das sieht in der Fehlermeldung auch sehr danach aus, dass es hier klemmt.
Tipps dazu?
Das ganze im Repo bei GitHub melden?
Danke und einen tollen Freitag.
Lesezeichen