Error: Source path https://domain/url has to start with a slash

Created on 15 January 2025, 4 days ago

Hello
I get this error on my Drupal 10.4 with PHP 8.3 website:

Source path https://domain/url has to start with a slash

So I changed this

$dest_path = $redirect->getRedirectUrl()->toString();

to

$dest_path = parse_url($redirect->getRedirectUrl()->toString(), PHP_URL_PATH);

On line 23 on the seo_page.module the problem has been fixed. I think this is a bug

๐Ÿ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ทIran arefen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024