Problem/Motivation

Symfony\Component\Routing\Exception\RouteNotFoundException: Route "simple_sitemap.engines.settings" does not exist. in Drupal\Core\Routing\RouteProvider->getRouteByName() (line 206 of /core/lib/Drupal/Core/Routing/RouteProvider.php).

Steps to reproduce

Install the module "simple_sitemap_engines" over the UI or with drush.

Drupal: 10.1.2
simple_sitemap: 4.1.6
As far as I know, it is only an error message during installation. Not a permanent error.

Comments

handkerchief created an issue. See original summary.

keshavv’s picture

Status: Active » Postponed
StatusFileSize
new1.57 MB

Not able to reproduce the issue. Can you please provide more context?
Either it is a bug a fatal error, or a warning.

handkerchief’s picture

StatusFileSize
new19.96 KB

Thx for the fast repsonse. First I installed the main module and configured it normally. Then I installed the additional module. To trigger the error again, I now only uninstalled the additional module and installed it again.

what else do you want to know?

keshavv’s picture

Status: Postponed » Active

@handkerchief Thank you for the input.
Will work on it.

handkerchief’s picture

I think line 49 in simple_sitemap_engines.install, the function simple_sitemap_engines_install() with the call to the settings route is the villain. Maybe you can move this warning message to another area.

keshavv’s picture

Status: Active » Needs review
StatusFileSize
new1.02 KB

We can use the URL directly

handkerchief’s picture

@keshavv thanks. I have tested it. The installation works now without error message.

keshavv’s picture

Status: Needs review » Reviewed & tested by the community

@handkerchief, Thank you for confirming. We can move it to RTBC.

gbyte’s picture

Version: 4.1.6 » 4.x-dev
Status: Reviewed & tested by the community » Fixed

This has already been fixed in a different issue. Please let me know if you still encounter this problem.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

aaronbauman’s picture