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.
Installed both 8.x-1.0-alpha1 and 8.x-1.0-dev and after that all page lead to a WSOD with this error
The website encountered an unexpected error. Please try again later.
inspecting the logs I see this
Message
UnexpectedValueException: External URLs do not have an internal route name. in Drupal\Core\Url->getRouteName() (line 554 of /var/www/vhosts/domain.com/httpdocs/core/lib/Drupal/Core/Url.php).
Severity
Error
website is running latest 8.2.3 drupal version
and uninstalling it make the site work as normal again
Comments
Comment #2
rondog469 CreditAttribution: rondog469 commentedThis is happening on my end too. If I enable the module I get WSOD until I remove it. The error in my php_error.log is
Comment #3
pjcdawkins CreditAttribution: pjcdawkins as a volunteer commentedI have the same problem as #2: there are references to DB columns like
redirect_source__query
andredirect_source__path
throughout the code, but theredirect
table only has columns likesource
andsource_options
.Comment #4
pjcdawkins CreditAttribution: pjcdawkins as a volunteer commentedInstalled via:
composer require drupal/redirect && drush en -y redirect
Version installed: 8.x-1.0-alpha1
Core version: 8.2.3
Error message:
Result of
explain redirect;
:Comment #5
BerdirAre you sure you are using the right version from d.o? Core version? mysql? Backtrace for that exception? (enable verbose logging)
There are plenty of tests and they are all passing as of one week ago.
source_options sounds like the 7.x table, no idea why you'd end up with that, maybe you managed to install a very early 8.x version that still had the old schema. The 8.x install doesn't create a table if it already exists.
Try uninstall and re-install.
Comment #6
pjcdawkins CreditAttribution: pjcdawkins as a volunteer commentedAaaaha! Thanks, I didn't realise I wouldn't see an error on installing, if I had the old schema.
It's probably the same problem for #2 then.
But the OP may be different. Sorry for the hijack. Updating title.
Comment #7
BerdirClosing issues that have not been providing additional information for over a month.