Playing around with a new install on localhost.

Error Happens when I click on a submit button, for example installing new modules.

Redirects to external URLs are not allowed by default, use \Drupal\Core\Routing\TrustedRedirectResponse for it.

There are some fixes, like this one but I don't know how add new hooks and where as I'm a total Drupal newbie.

  • Did you apply the patch? – DRUPWAY Feb 16 '17 at 10:45
  • Not yet as I don't know how to apply and where exactly. – Vasmir Feb 16 '17 at 10:47
  • check drupal.stackexchange.com/questions/23347/… – DRUPWAY Feb 16 '17 at 10:53
  • thanks but it didn't work. I applied the patch through PHPstorm. Still getting that error – Vasmir Feb 16 '17 at 11:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.