You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Declaration of Algolia\AlgoliaSearch\Http\Psr7\Uri::withScheme(string $scheme): Psr\Http\Message\UriInterface must be compatible with Psr\Http\Message\UriInterface::withScheme($scheme) in /code/wp-content/plugins/algolia/vendor/algolia/algoliasearch-client-php/src/Http/Psr7/Uri.php on line 439
Temporary Fix: Downgraded Algolia client to version to 3.2.2
Description
composer./json states that either versions 1 or 2 of psr http-message are compliant :
In class
Algolia\AlgoliaSearch\Http\Psr7\Uri
the methodwithScheme
has the following signature :algoliasearch-client-php/src/Http/Psr7/Uri.php
Line 439 in df4508d
which is not correct implementation of version 1 of psr/http-message related interface:
Experienced by using
"drupal/search_api_algolia": "^3.0@beta"
, had to downgrade algolia/algoliasearch-client-php to 3.3.2 fo fix.The text was updated successfully, but these errors were encountered: