codefog / contao-news_categories

Extend the Contao news module with categories
MIT License
31 stars 25 forks source link

Category Link Routing Error #222

Open chromagnon opened 1 year ago

chromagnon commented 1 year ago

Hi,

after updating from contao 4.9 to 4.13.10 and PHP 8 the filtering of categories does not work anymore.

The Category-list still generates perfect links such as https://www.mindroad.de/blog/category/sackgassen.html but it results in an 404 Error.

the log file shows, that, however, a part of that link is doubled:

[2022-09-22T18:42:19.726048+02:00] app.DEBUG: Router Symfony\Bundle\FrameworkBundle\Routing\Router was not able to match, message "No routes found for "/blog/category/blog/category/sackgassen.html/"." [] [] [2022-09-22T18:42:19.804511+02:00] app.DEBUG: Router Symfony\Cmf\Component\Routing\DynamicRouter was not able to match, message "Duplicate parameter "category" in path" [] []

I'm not even sure if it's an issue in news_categories, but thats where the problem apears.

Greetings, Chris