- Issue created by @idiaz.roncero
- Status changed to Closed: works as designed
almost 2 years ago 3:42pm 13 February 2023
Drupal\feeds\EventSubscriber\PubSubHubbub.php is using
use GuzzleHttp\Url;
// Used to make other URLs absolute.
$source_url = Url::fromString($feed->getSource());
$hub = (string) $source_url->combine($hub);
Which are no longer existing nor supported on 6.0 version of the GuzzleHttp library.
Use an alternative for making URLs absolute and combining them.
Reading the Upgrade.md file of guzzlehttp/guzzle library, it states that from 6.0:
- Guzzle now uses `Psr\Http\Message\UriInterface` (implements in
`GuzzleHttp\Psr7\Uri`) for URI support. `GuzzleHttp\Url` is now gone.
But neither `Psr\Http\Message\UriInterface` nor `GuzzleHttp\Psr7\Uri` can be considered drop-in replacements as they don't implement static `fromString` or `combine` methods.
Closed: works as designed
1.0
Code