When to clean all caches through the command of this module - getting the error.

nvalidArgumentException: Cannot redirect to an empty URL. в Symfony\Component\HttpFoundation\RedirectResponse->setTargetUrl() (строка 76 файла /home/astravel/public_html/vendor/symfony/http-foundation/RedirectResponse.php).

1
1

Standard cleaning cache - works.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fomenkoandrey created an issue. See original summary.

fomenkoandrey’s picture

FileSize
111.55 KB
fomenkoandrey’s picture

Issue summary: View changes
fomenkoandrey’s picture

i try to update the mod to version 8.1.15 dev and get the same error when i clear cash, in all variants.

fomenkoandrey’s picture

Run cron through Admin Toolbar - the same error.

fomenkoandrey’s picture

Issue summary: View changes
FileSize
277.7 KB
matio89’s picture

Version: 8.x-1.14 » 8.x-1.x-dev
Status: Active » Needs review

Hello ,
This issue is fixed.
Download the dev version and tested it.

Thanks.

fomenkoandrey’s picture

FileSize
89.27 KB

This error no longer appears, but the page goes to the eternal reload.
error occurs after a few minutes, "Неверное перенаправление на странице" something like "Invalid redirect to the page" in English.

3

fomenkoandrey’s picture

this i have in log:

Warning: Header may not contain more than a single header, new line detected в Symfony\Component\HttpFoundation\Response->sendHeaders() (строка 337 файла /home/astravel/public_html/vendor/symfony/http-foundation/Response.php).

Kionn’s picture

Here is a patch that fixes this, against the latest dev version.

Status: Needs review » Needs work

The last submitted patch, 10: admin_toolbar-no_referer-2735153-10-8.x-1.15+4-dev.patch, failed testing.

Kionn’s picture

Re-uploading patch file, renamed.

fomenkoandrey’s picture

last patch - works for me! thank U

  • matio89 committed 00b7ed3 on 8.x-1.x authored by Kionn
    Issue #2735153 by Kionn: InvalidArgumentException: Cannot redirect to an...
matio89’s picture

Status: Needs work » Fixed

Hello,
Thanks for your support.
Br,

fomenkoandrey’s picture

I found that with the redirect problem occurs after I install and enable the module External Links https://www.drupal.org/project/extlink

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.