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.
Drupal 7, freshly installed, only core modules and Menu token enabled.
To reproduce:
- Enable Menu token module.
- Create a menu link with path '[current-page:url:path]' (without the quotes).
- Save, then try to edit or delete that menu item.
Output:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Comments
Comment #1
bryancasler CreditAttribution: bryancasler commentedsubscribe
Comment #2
dealancer CreditAttribution: dealancer commentedIt's ok for me for recent dev version. Menu Token module works the same way with any token. The problem could be in other module or some specific configuration. Make sure Token module is recent too.
I can't reproduce it so closing this issue.
Comment #3
enapoleone CreditAttribution: enapoleone commentedI am getting the same problem. I can't even delete the menu items exhibiting the issues.
Did you have any luck getting it to wrok?
Comment #4
mesr01 CreditAttribution: mesr01 commentedSorry @enapoleone, I ended up using a different approach, so I don't have (yet) a fix or workaround for this problem.
Comment #5
Yuri CreditAttribution: Yuri commentedI confirm that this is still an unsolved issue, menu items using tokens cannot be deleted or edited (although in my case it does not throw an error)
Using latest Token dev version in D7.8
It does not help to leave this issue closed for solving it and collecting additional information. Setting to active.
Comment #6
Yuri CreditAttribution: Yuri commentedComment #7
dealancer CreditAttribution: dealancer commentedConfirm, issue exists. Looks like it is been entered in infinite loop.
Comment #8
dealancer CreditAttribution: dealancer commentedIt happens only for [current-page:url:path] token. And I think issue is not major. cause [current-page:url:path] used not very often.
Comment #9
DevElCuy CreditAttribution: DevElCuy commentedComment #11
Sigvard CreditAttribution: Sigvard commentedThis still happens running Menu Tokens 7.x-1.0-beta5 on Drupal 7.34.
I used the [current-page:url:args] token with the exact same result.
Disabling the module solves the issues but the issue returns when the module is re-enabled (even if first uninstalled).
Comment #12
corentin.crouvisier CreditAttribution: corentin.crouvisier commentedsubscribe