The latest update of the Login Destination module cause this issue.
UnexpectedValueException: External URLs do not have an internal route name. in Drupal\Core\Url->getRouteName() (line 555 of /home/sitename/web/core/lib/Drupal/Core/Url.php).
This commit made the issue
#2820772: Store current page to redirect back to after following login link and logging in - not working in D8
#2931356: Fixed Route Error as links should be routed ( is routed ) before we get their route name
The problem is in login_destination_link_alter
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 2931502-7.patch | 1.07 KB | rajab natshah |
Comments
Comment #2
yasmeensalah commentedComment #3
rajab natshahThank you for reporting!
I think our best option is to patch the module after
944d78fbf01853244d8e01f63b41dc37d5f99e50
http://cgit.drupalcode.org/login_destination/log/?h=8.x-1.x
We could add the patch in #2931356: Fixed Route Error as links should be routed ( is routed ) before we get their route name as you reported that in the private.
Comment #4
rajab natshahComment #5
rajab natshahComment #6
rajab natshahAfter Reading Omar Alahmed's comment on this link
https://api.drupal.org/comment/63563#comment-63563
links should be Routed.
Comment #7
rajab natshahApplying the Patch #5 2931356-5.patch in #2931356: Fixed Route Error as links should be routed ( is routed ) before we get their route name for Varbase 8.4.13
And you could add the patch in your varbase-project patches as follows:
Comment #8
rajab natshahComment #10
rajab natshahComment #12
rajab natshahComment #13
rajab natshahComment #14
yasFYI, I received that error in the combination of Login Destination 8.x-1.x-dev on Drupal core 8.5-dev:
And in that case, thhe patch of #2931356: Fixed Route Error as links should be routed ( is routed ) before we get their route name worked for me.
Comment #15
rajab natshahComment #16
rajab natshah#2934280: Updated [Login Destination] module from 8.1.x-dev-944d78f to 8.1.x-dev-54be8b8
Comment #17
rajab natshahComment #18
rajab natshah