Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi!
This would be a nice module. But unfortunately, I get the following Error (500):
mod_fcgid: stderr: Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "" does not exist." at .../core/lib/Drupal/Core/Routing/RouteProvider.php line 191
Thanks for your help!
Comments
Comment #2
danielbeeke CreditAttribution: danielbeeke commentedTo get this module working you have to do a couple of things.
You have to add the following to the services.yml.
You have to edit your menu.html.twig file:
I hop this helps, if not, I am on IRC at the moment with the username danielbeeke3
Comment #3
Michèle CreditAttribution: Michèle commentedThanks for your reply! I didn't found you on IRC...
I did these steps (created services.yml, inserted the content of menu_link_placeholder.services.yml and edited menu.html.twig...
Cleared caches multiple times, but no luck.
Comment #4
danielbeeke CreditAttribution: danielbeeke commentedI am in IRC: #drupal as danielbeeke or danielbeeke3
Is it still the same error?
Comment #5
danielbeeke CreditAttribution: danielbeeke commentedI have had contact on IRC, this is more a support issue than a bug.
This module is not yet plug and play.
The error in the issue description comes when you use the standard menu.html.twig.
It is important the services yaml is working, if it is not working you will not see the empty menu links when logged out. It will not throw an error.
Comment #6
danielbeeke CreditAttribution: danielbeeke commented